ラベルをプルダウンに変更する方法(Blogger)
- テンプレートをクリックします。
- HTMLの編集をクリックします。
- <b:widget id="Label1" locked="false" title="Label" type="Label">から</b:widget>を下記に書き換えます。
<b:includable id='main'>
<b:if cond='data:title'>
<h2><data:title/></h2>
</b:if>
<div class='widget-content'>
<select onchange='location=this.options[this.selectedIndex].value;'>
<option> Select a Label </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>
出来ましたか?