Create Dropdown menu for Labels widget ~ #JMBELOG Create Dropdown menu for Labels widget | #JMBELOG
Comments

Create Dropdown menu for Labels widget

Posted by at June 17, 2017 Read our previous post

<b:widget id='Label1' locked='false' title='Labels' type='Label'>
<b:includable id='main'>
<b:if cond='data:title'>
<select style='width:100%' onchange='location=this.options[this.selectedIndex].value;'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content'>
<b:loop values='data:labels' var='label'>
<option>Click to choose a label</option>
<option expr:value='data:label.url'><data:label.name/>
</b:includable>
(<data:label.count/>)
</option> </b:loop>
<b:include name='quickedit'/>
</select> </div>
</b:widget>
(copy paste this code)
kredit : bloggersentral


No comments:

Post a Comment

Disclaimer:
Assalamualaikum ! Salam sejahtera ! Segala komen adalah tanggungjawab anda sendiri. ~ "Note : Ada artikel yang JM perkongsikan dari hasil blog lain. Sila rujuk sumber / kredit pada akhir artikel ya." Terima kasih.

JUST SHARING STORIES "I am not blogger I just follower"

© #JMBELOG is powered by Blogger - Template designed by Stramaxon - Best SEO Template