Make a selection from the drop-down list.

Make a selection from the second drop-down list.

The second drop-down was made to work by changing the 'form name="jump" ' to "left" and the change was also made "location=". Interestingly, the second "jump" inside the [] was not changed.

Saturday, August 28, 2010

Drop Down Link List

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="[].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=''><></option>

The original widget content was:

<b:loop values='data:links' var='link'>
<li><a expr:href='' target='blank'><></a></li>

No comments: