[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 106
  • Last Modified:

need help with javascript collapsable menu

I would like this menu to do 2 things it's not doing:

I can't get the header link to go the the page (aboutheshow.html) I am just using this as a test page right now to see if I can get it to work BTW..

Also, I would like the submenu to stay open when on the page, for instance when you are on the about the show page, I would like the submenu to be open.

Any help I would really appreciate! thank you

Here is the menu:
http://www.skkinlounge.com/help/menu.html

http://www.skkinlounge.com/help/abouttheshow.html

Here is the javascript:
http://www.skkinlounge.com/help/ddaccordion.js
0
janapfremmer
Asked:
janapfremmer
1 Solution
 
asafadisCommented:
Thing #1:
In your "ddaccordion.js" file, replace line #189 with this:

                                if($(this).next().find('li')[0]) {
                                    return false //cancel default click behavior
                                }

Thing #2:
There's no easy way of doing this with a script this messy.  I'm guessing it's the same reason why nobody else is pitching in!

I'd suggest you consider menu alternatives:
http://www.cssplay.co.uk/menus/
0
 
Pravin AsarPrincipal Systems EngineerCommented:
0
 
janapfremmerAuthor Commented:
Thank you anyway, I appreciate it...
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now