Type Here to Get Search Results !

HOW TO CREATE DROP DOWN MENU ON BLOGGER

HOW TO CREATE DROP DOWN MENU ON BLOGGER
अपने ब्लॉग के लेबल की ड्राप डाउन मीनू कैसे बनाए.....

1. Go to Dashboard > Design > Edit HTML.
2. Back up your template

3. Press CLTR key + F key and Find this code
<b:widget id='Label1' locked='false'
or
<b:widget id='Label2' locked='false'
or
<b:widget id='Label3' locked='false'

6. Look for the following lines in your HTML code.


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

Replace that line with this code:

<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>Click To Choose a Category</option>
<b:loop values='data:labels' var='label'>
<option expr:value='data:label.url'><data:label.name/>
(<data:label.count/>)
</option>
</b:loop>
</select>
<b:include name='quickedit'/>
</div>
</b:includable>
</b:widget>

and Save


Click To Choose a Category  अपने अनुसार बदल सकते आपको जो नाम रखना है
Label1  लेबल जो है उसी का नाम रखे जैसे Label1    Label2    Label3
(<data:label.count/>)  इसको हटाने से आपके लेबल में कितनी पोस्ट है उसकी गणना नहीं करेगा.

एक टिप्पणी भेजें

0 टिप्पणियाँ
* Please Don't Spam Here. All the Comments are Reviewed by Admin.