PDA

View Full Version : Glossy Accordion Menu- goto url?



sub
07-09-2008, 07:23 PM
1) Script Title: Glossy Accordion Menu with responsive headers

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

3) Describe problem:

Hi,

I am using the above script and would like to modify it to take me to a URL rather than load content in an iframe when a header is expanded by the user.

I have links associated with the headers, but at the moment they are ignored when a header is expanded. I did try switching to 'mouseover', which works as i had hoped, but this just doesnt act as i want it to.

Unfortunately I have no idea how to do this!

Any help on this would so very much appreciated!

Many many thanks in advance!

rangana
07-10-2008, 12:15 AM
Change this part:


myiframe.location.replace(header.getAttribute('href'))


into:


location.href(header.getAttribute('href'))


Hope that helps.

sub
07-10-2008, 08:03 AM
brilliant work, thank you so much mate

spirofantasio
07-10-2008, 10:38 AM
Is there any way of doing this for the non-iframe version of the same menu ?

My site does not use iframes and I would like the headers to be links to other pages without having to use iframes.

Thank you.

:)

rangana
07-11-2008, 12:38 AM
Try the suggestion on post#2 and remove the iframe element in your markup.