|
|
|
|
![]() ![]() |
Dec 30 2004, 07:26 PM
Post
#1
|
|
|
Member - Active Contributor Group: Members Posts: 92 Joined: 15-December 04 From: New Mexico Member No.: 1,759 |
I'm in need of a drop down menu script. The one I am currently using was written to work in both ie and netscape, but does not work in firefox.
I new at installation that the author had stretched the rules abit to make it work, but didn't expect firefox to come out. I don't care what language it is written in as long it works If you have ie you can see an example at: http://66.78.26.33/~ruidoso/ I would appreciate any help you can recommend pete |
|
|
|
Jan 3 2005, 03:25 PM
Post
#2
|
|
|
Premium Member Group: Members Posts: 208 Joined: 6-September 04 From: England Member No.: 315 |
No problem, this is the code i used recently for a college assignment:
dropdown menu code: CODE <form id="select" action=""> <p> <select name="menu" class="jump" onchange="loc(this)"> <option value="" selected="selected">// Destination</option> <option value="index.html">Home</option> <option value="">option</option> <option value="latest.html">option</option> <option value="">option</option> <option class="options" value="wallpapers.html">option</option> </select> </p> </form> javascript code: CODE function loc(val) { id = val.options[val.selectedIndex].value; if (id != "") {location.href = id; } } it should work perfectly fine in firefox as i have tested it. If you find any problems tell me what they are, thanks. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 5th December 2008 - 01:34 AM |