PDA

View Full Version : 'clickgo' function to first direct to desired page and than to open up submenu



orenlebbo
06-28-2011, 11:17 AM
1) Script Title: Glossy Accordion Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-glossy.htm

3) Describe problem:
hi.
i;m using this script in this site (http://kidumi.com/all-in-1.co.il/portfolio/).
i defined 'clickgo' so once i click on one of the titles, it takes you to the desired page.
the problem is that the sub-menu opens up and only than directs to the page.
is there a way to make the function to first go to the page and only than to open up the sub menu ?

thanks :)
oren

orenlebbo
06-30-2011, 08:33 AM
hello...
maybe someone can help here please ?
thanks :)
oren

ddadmin
06-30-2011, 06:18 PM
Hmm offhand I'm not sure there's an easy way to do this unfortunately. The problem is basically you're asking the script to behave in two contradictory ways depending on the page it's on. On the first page, you want the menu header in question to behave like it's a regular header that merely goes to a URL when clicked on, and on the 2nd page, you want the exact header to act as an accordion header that expands some sub content when the page is loaded. That's difficult.

It's possible to have a regular link on page A that when clicked through opens up page B with a certain accordion header automatically expanded (even with animation), but that's different than what you're asking, however.

orenlebbo
06-30-2011, 06:25 PM
all right, thanks :)
so i must use the menu in a different way.
the point is that i want each header to have his own image on the right so i thought it will appear when clicking on the header. but if that's impossible i would like to have an option to display an image to the right of the menu each time someone hovers over the header...
i know it's not relevant to the topic of the thread but maybe you can help me find something similar to that ?

thanks :)
oren