Need help putting two expandable menus on one page
I have successfully added this "Click-To-Expand Menu" onto my website that I am developing. It works perfectly and everything looks good.
However, I want to add an additional, separate menu a little bit lower down on the same page that also clicks to expand.
I'd really appreciate your help.
Last edited by narz; 09-12-2006 at 11:04 AM.
You should be able to use two scripts but you will need to change the ID to something else on one of them. The ID is used in the HTML tag so that when the script searches through it can find that "container".
Just change the ID in your HTML, search through the script and look for getElementById("containerul"). I think it's only used a few times.
This may not fix your problem though, as the script also stores the "states" of the menu in a cookie. You may also need to change the cookie that one script uses, otherwise one being open will be read as them both being open...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)