Home » , » Membuat Label Drop Down di Blogspot

Membuat Label Drop Down di Blogspot

Cari code Label1 (atau sejenis dgn ini) :

  <b:widget id='Label1' locked='false' title='Labels' type='Label'/>  


Ganti code tersebut, dengan code ini :


  <b:widget id='Label1' locked='false' title='Categories' type='Label'>  
 <b:includable id='main'> <b:if cond='data:title'>  
 <h2><data:title/></h2> </b:if>   
 <div class='widget-content'>  
 <select style='width:100%' onchange='location=this.options[this.selectedIndex].value;'> <option>Judul</option>  
 <b:loop values='data:labels' var='label'> <option expr:value='data:label.url'>  
 <data:label.name/> (<data:label.count/>) </option> </b:loop> </select></div> </b:includable> </b:widget>  


Simpan.

0 comments:

Post a Comment

Test Feed Box

Adblock Detected

Like this blog? Keep us running by whitelisting this blog in your ad blocker

This is how to whitelisting this blog in your ad blocker

Thank you

×