PDA

View Full Version : drop down menu


newbieiam
09-18-2002, 02:58 AM
hi, i want to use a simple drop down menu, eg.

http://www.dynamicdrive.com/dynamicindex1/combodescribe.htm


that script is perfert, except i don't want the description. anyone have a script without that, or how to modify that script. thanks a lot guys!

ps: whats a crossbrower?

*hence my name* ;)

amanda

umm
09-18-2002, 03:06 AM
I haven't time for the script question but "cross browser" generally indicates that something (e.g. a script, a function within a script or a script variable) is compatible across a variety of browser types and versions.

Gordo
09-18-2002, 03:30 AM
Well, the whole reason for that particular script is to have the description added. If you don't want the description, then all you really want is a dropdown select box form.

Here is the code stripped of the JavaScript...it's just a pretty basic form now:

<form name="a294" >
<select name="a969" size="1" style="background-color:#FFFFD7">
<option selected value="http://wsabstract.com">Website Abstraction </option>
<option value="http://freewarejava.com">Freewarejava.com</option>
<option value="http://wired.com">Wired News</option>
<option value="http://freewarejava.com/cgi-bin/Ultimate.cgi">WA Help Forum</option>
<option value="http://www.msnbc.com">MSNBC</option>
</select>
<input type="button" value="Go" onClick="location=document.a294.a969.options[document.a294.a969.selectedIndex].value">
</form>