...678 Posted March 9, 2007 Share Posted March 9, 2007 If i have a dropdown menu. i want to be able to pick one of the options, and it links to that page. Link to comment Share on other sites More sharing options...
pulpfiction Posted March 9, 2007 Share Posted March 9, 2007 http://www.web-source.net/javascript_redirect_box2.htm Link to comment Share on other sites More sharing options...
...678 Posted March 9, 2007 Author Share Posted March 9, 2007 http://www.web-source.net/javascript_redirect_box2.htmthanks Link to comment Share on other sites More sharing options...
rayS Posted March 10, 2007 Share Posted March 10, 2007 Over here it says that you can only have one such per page. What if I want two ? I think it's possible since I've seen sites that have more than one. Take style.com for example. If you go to the main page and scroll down to the bottom, they have 3 dropdown menus there.So, does anyone know how do you do it ? Link to comment Share on other sites More sharing options...
rayS Posted March 12, 2007 Share Posted March 12, 2007 Helloooooo !!!!!!!!!!!!!! Is there anybody here, who can answer my question ???I have made two drop-down menus on my page, but they don't work. Is the reason that you really can't have more than one ??? Link to comment Share on other sites More sharing options...
king Posted March 12, 2007 Share Posted March 12, 2007 Helloooooo !!!!!!!!!!!!!! Is there anybody here, who can answer my question ???I have made two drop-down menus on my page, but they don't work. Is the reason that you really can't have more than one ???No, you can have more than 1 but you must change the name of the function, the form, etc. Link to comment Share on other sites More sharing options...
rayS Posted March 12, 2007 Share Posted March 12, 2007 The name of the function ? What is it ? Link to comment Share on other sites More sharing options...
justsomeguy Posted March 12, 2007 Share Posted March 12, 2007 You need to understand the Javascript that makes this happen if you are going to change how it works. You have an element on your page that triggers the menu to appear. It probably triggers through an onmouseover event. In the onmouseover attribute for the element, there is a piece of Javascript code that will execute (and show the menu) when the target is hovered over with the mouse. If you want multiple dropdowns, then either you need to call a separate function for each dropdown menu, or you need to have one function that can open the appropriate menu if you give it the name of the menu to open.Beyond saying that, there's not really any other help that people can give unless you post the code you are trying to use. Link to comment Share on other sites More sharing options...
rayS Posted March 14, 2007 Share Posted March 14, 2007 Actually, it looks like I figured the way, 'coz it all works now. Nothing to do with Javascript or anything, btw...Anyways, thanks for your reply. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now