Saturday, July 28, 2012

Pull down menus.

Just some quickie code for a pull down menu.


Html links will probably not work for you but you should get the idea. Notice the commented out line.


[code]
<td>
<form name="jump5">
<select name="menu5" onclick="top.location=document.jump5.menu5.options[document.jump5.menu5.selectedIndex].value;" value="GO">
<option value="http://oesrvr1/">Staff Tools</option>
<option value="../sql-ledger/">Accounting</option>
<option value="../webcal">Calendar</option>
<option value="../osv">College mgmt</option>
<option value="../eyeOS">Desktop</option>
<option value="../webERP">ERP</option>
<option value="../fo">Feng office</option>
<option value="../go">Group Office</option>
<option value="../phd">Helpdesk</option>
<option value="../openemr">Medical office</option>
<option value="../orangehrm">Personnel</option>
<option value="../squirrelmail">Postoffice</option> 
<!--
<option value="../gel">SS+Fengoffice</option>
//-->
<option value="../dp">Task Manager</option>
<option value="../et">Work order entry</option>
</select>
</form>
</td>
[code]
 
Note:   
<select name="menu5" onclick=
"top.location=document.jump5.menu5.options
[document.jump5.menu5.selectedIndex].value;"  value="GO">
 
Code can easily be reused:
 
 

No comments:

Post a Comment