The "blog inventory" in the sidebar is a LinkList gadget, modified to a drop down list. Here's the code:
<form name="inv">
<select onchange="location=document.inv.menu.options[document.inv.menu.selectedIndex].value;" value="GO" name='menu' expr:id='data:widget.instanceId'>
<option value=''><data:title/></option>
<b:loop values='data:links' var='link'>
<option expr:value='data:link.target'><data:link.name/></option>
</b:loop>
</select>
</form>
The original widget content was:
<ul>
<b:loop values='data:links' var='link'>
<li><a expr:href='data:link.target' target='blank'><data:link.name/></a></li>
</b:loop>
</ul>
No comments:
Post a Comment