Adding a Drop down Labels menu

Labels , they help the reader to find posts under specific category. But , if you are using a single column template or if you are having too many labels , it may be a big problem for you. So , that's why programmers had invented some thing called the Drop Down Menu. Lets add one of it to our blog too.

1. Edit your Template
2. Now find out

<b:loop values='data:labels' var='label'>

( press 'Ctr
l' + F to open your browser's search box)

Now you will find a set of code lines similar to following

<b:loop values='data:labels' var='label'>
<b:if cond='data:blog.url == data:label.url'>
<a expr:href='data:label.url'><></a>

Now replace above whole code set with the following codes

<select onchange='location=this.options[this.selectedIndex].value;' style='width:100%'>
<option>Browse By Labels( Name you want to display as drop down menu's caption )</option>
<b:loop values='data:labels' var='label'>
<option expr:value='data:label.url'><>

Now follow the Safety Saving Steps.



Every New lesson , directly to your Mail Box .....


Khalilur Rahman on July 21, 2012 at 7:12 AM said...

Rich blog, I should say it is all tricks in one place. Easy, tricky and anybody can get more flexibility to use these article without having any difficulties. 

Irfan Sattar said...

Thanks for sharing
this great Post dude

Company bangalore

drihita roy on June 7, 2018 at 7:52 AM said...

Download The Paid version for Free .Visit Here Gourab Design - Premium Blogger Template

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

The Word Validation image has been removed and no need to Sign In. So don't be lazy ..........

This blog sucks under Internet Explorer.

Buy me a Coffee

Powered By

Latest Site News

Animated 3D Dock removed in order to speed up loading time and to help IE users.

This site will be come up with a DOMAIN name soon.

Link and Win competition will start as soon as the Domain name added. Join with us. You could be the winner.

Site Info

since 2009 April

Submit a Lesson


of Visitors read Pages.


Lessons by DragonD | Template by Simran | Logo by lahirulcd | Temaplate redesigned by DragonD| Icons by | Licensed under CC license Creative Commons License