Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Need Drop Down Menu Script, Current not working in firefox
pbolduc
post Dec 30 2004, 07:26 PM
Post #1


Member - Active Contributor
Group Icon

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. sad.gif

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
Go to the top of the page
 
+Quote Post
overture
post Jan 3 2005, 03:25 PM
Post #2


Premium Member
Group Icon

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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. How Do U Make A Slide Show Menu With Javascript(21)
  2. Slideshow Of Pictures(0)
  3. Need Opinion - Language Redirection Script...(0)
  4. Need A Little Help With Js(1)
  5. Let's Make Rainbow Link(1)
  6. Alpha Release Astahost Credits Reporting Extension(9)
  7. Formatting Alerts/confirm In Firefox 1.5.0.1(3)
  8. Bid Visitors Bye/thank U With A Popup Onunload In Just One Line!(0)
  9. Sweet Titles(0)
  10. Browser Quaker Script - Shock Your Visitors!(5)
  11. Password Protect Your Page(2)
  12. Javascript: Simple Slidedown Menu(2)
  13. JavaScript: Simple Dropdown Menu(1)
  14. Calling Of Functions Between Mulitple External Javascript Files(2)
  15. How Can I Make A Drop Down Menu?(6)
  1. Javascript: Browser Detection Script(0)
  2. Create And Import JavaScript Modules For A Large Script(2)
  3. JavaScript Off Redirect Script(2)
  4. Enlarge Image Script(19)
  5. One Click To Copy Script(0)
  6. Dhtml Slidedown Menu(2)
  7. Focus() And Select() Problems With Firefox(2)
  8. Settimeout() & Focus() Not Working With Firefox(1)
  9. Javascript Changes Aren't Working.(6)
  10. Love Script(3)


 



- Lo-Fi Version Time is now: 5th December 2008 - 01:34 AM