[thelist] Simple navigation Menu form question
Jon Haworth
jhaworth at witanjardine.co.uk
Mon Aug 6 09:18:22 CDT 2001
It looks OK to me (until someone turns up in Lynx or IE 6 with Javascript
turned off, which conveniently happen to be the two browers I use all the
time :-)
Have you not got access to $SERVER_SIDE_LANGUAGE? This is so easy with PHP
it's untrue, and it works with everything.
Cheers
Jon
-----Original Message-----
From: Eric Benvenue-Jennings [mailto:eric at rapid13.org]
Sent: 06 August 2001 15:05
To: thelist at lists.evolt.org
Subject: [thelist] Simple navigation Menu form question
I'm trying to create a simple pull-down menu with navigation links. So far,
the
method below is the simplest that I've found. Aside from the fact that it
won't
validate (<form> is missing an ACTION), are there any flaws in it? Are there
good reasons NOT to do this? My initial tests show it working in IE 5 and
Netscape 4, Mac and IE 4 and Netscape 4, PC.
<form>
<select name="list">
<option selected value="#">JumpTo...</option>
<option value="http://www.url1.com">Link1</option>
<option value="http://www.url2.com">Link2</option>
<option value="http://www.url3.com">Link3</option>
</select>
<input type="button" name="JumpTo" value="GO"
onclick="top.location.href=this.form.list.options[this.form.list.selectedInd
ex].value">
</form>
More information about the thelist
mailing list