Results 1 to 7 of 7

Thread: Accordion Arrow Side Menu - In Frames

  1. #1
    Join Date
    Apr 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Accordion Arrow Side Menu - In Frames

    Hi,
    I have just come across your Accordion Arrow Side Menu. It is great menu, works just fine and it would fit exactly to my need. However, I want to use it in the frame page, and the problem is that instead of in the “main” frame, the HEADER LINK always displays the desired page in the same frame as the menu.
    Would you please help me with that? Thanks.
    Last edited by SilverCloud; 04-14-2010 at 03:15 AM. Reason: Make it better

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    This has been moved to the correct area.
    This question is related to one of the Dynamic Drive scripts. Please use this forum for questions about DD scripts.
    This thread describes how you should post your question in that forum.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format when asking a question.

    Are you using the "clickgo" option to get the header to go to the designated page once its sub menu has expanded?
    DD Admin

  4. #4
    Join Date
    Apr 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Accordion Arrow Side Menu

    http://www.dynamicdrive.com/dynamici...menu-arrow.htm

    Sorry about the problems with my question.

    Yes, I'm using the "clickgo" option. This option is actually the main reason why I like this menu.
    The HTML setting in the page to '<base target="main">' or putting the 'target="main"' directly into the link doesn't make any difference. Instead of to the "main" frame, it still goes to the "menu" frame.

  5. #5
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Ok, try finding the below line inside the .js file:

    Code:
    setTimeout(function(){location=targetLink.href}, 200)
    and change that to:

    Code:
    setTimeout(function(){parent.myframename.location=targetLink.href}, 200)
    Where "myframename" is the name of the FRAME you wish to target per its name attribute.
    DD Admin

  6. #6
    Join Date
    Apr 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you very much for your help, Daniel. Now it works like a magic. It is great menu. Thanks again.

  7. #7
    Join Date
    Jan 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation

    This is what i need too. Can you add this for your future -update?

    Greetings

    -V-


    Quote Originally Posted by ddadmin View Post
    Ok, try finding the below line inside the .js file:

    Code:
    setTimeout(function(){location=targetLink.href}, 200)
    and change that to:

    Code:
    setTimeout(function(){parent.myframename.location=targetLink.href}, 200)
    Where "myframename" is the name of the FRAME you wish to target per its name attribute.

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
  •