Jump to content
Sign in to follow this  
...678

Dropdown menu Help

Recommended Posts

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 ?

Share this post


Link to post
Share on other sites

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 ???

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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. :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...