Results 1 to 5 of 5

Thread: Glossy Accordion Menu- goto url?

  1. #1
    Join Date
    Jul 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Glossy Accordion Menu- goto url?

    1) Script Title: Glossy Accordion Menu with responsive headers

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...enu-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!

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Change this part:
    Code:
    myiframe.location.replace(header.getAttribute('href'))
    into:
    Code:
    location.href(header.getAttribute('href'))
    Hope that helps.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

  3. #3
    Join Date
    Jul 2008
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    brilliant work, thank you so much mate

  4. #4
    Join Date
    Jul 2008
    Posts
    6
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default On the same subject

    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.


  5. #5
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Try the suggestion on post#2 and remove the iframe element in your markup.
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •