PDA

View Full Version : Accordion menu problem..pls help!



mesanju
10-03-2008, 08:58 AM
Hi

I have a accordion menu in the left side area in the website http://www.sophiesfurnishings.com/. I am facing a small issue but now its very big issue for me to resolve... actually I am trying to do that when anyone click on the + icon then it should open the submenu and when click on the button (not on the + icon) it should go to the respective page

Any ideas will be highly appreciated

thanks
Sanjeev

ddadmin
10-04-2008, 06:12 AM
Warning: Please include a link to the DD script in question in your post. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

Well, you can switch the menu behavior from the current reveal sub menu "onmouseover" to "onclick". That way, the sub menus are revealed when you click on the header, instead of mouseover:


//Initialize first demo:
ddaccordion.init({
headerclass: "mypets", //Shared CSS class name of headers group
contentclass: "thepet", //Shared CSS class name of contents group
revealtype: "click", //Reveal content when user clicks or onmouseover the header? Valid value: "click" or "mouseover"