How to Make a Dropdown Menu In Blogger


Dropdown menu is the menu that contains a bunch of text or links are shortened to a single menu. example looks like this:






Its contents will only appear if you click on the menu so that it can save space blog.This method can be used as alternative blogroll or other needs. Well to make it, it is very easy: 1. Log in to Blogger . offer menu Design -> Page Elements 2. Clicks Add a Gadget -> HTML / Javascript 3. Enter the code below into the box







<select onChange="document.location.href=this.options[this.selectedIndex].
value;">
<option value="http://alamatblog.com/#" selected>Blogroll</option>
<option value="http://alamatLink.com/">Nama Link</option>
<option value="http://alamatLink.com/">Nama Link</option>
<option value="http://alamatLink.com/">Nama Link</option> 
</select>

If you want to add a new link again to add the code < option value = "http://alamatLink . com / "> Link Name </ option> above the </ select> Replacealamatblog with with your blog address. Replace text colored red with the address of the link you want to install. Replace text colored blue with the name of the link you want displayed. 4. If you already click Save . Finish Note: the code above to open links in the same page. If you want to open a link in a new page. Change the code














<select onChange="document.location.href=this.options[this.selectedIndex].
value;">
Be

<select onchange="javascript:window.open(this.options[this.selectedIndex].
value);">

Good luck ..

0 comments:

Post a Comment