Results 1 to 4 of 4

Thread: Target for Frameset

  1. #1
    Join Date
    Apr 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Target for Frameset

    1) Script Title: Accordion Menu script

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...menu-urban.htm

    3) Describe problem: Target for "headerbar" (Mainmenu)

    The Page is a Frameset (left; target "nav", right; target "main")
    => Testsite; http://web469.iname.ch/test09.htm

    The Siteclick on the "submenu"-Menu open in the right Area (main) - thats ok
    ... but the Siteclick on the "headerbar"-Menu open in the left Area (nav) => must be also in the right Area (main) !!

    What can I do?

    Tx, theebar
    Last edited by Snookerman; 04-30-2009 at 09:55 AM. Reason: added “Resolved” prefix

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

    Default

    To change the link target of the header (when you've set it to respond via "clickgo"), just find the line:

    Code:
    					setTimeout(function(){location=targetLink.href}, 200) //ignore link target, as window.open(targetLink, targetLink.target) doesn't work in FF if popup blocker enabled
    inside the .js file, and change that to:

    Code:
    					setTimeout(function(){parent.frames['framename'].location=targetLink.href}, 200) //ignore link target, as window.open(targetLink, targetLink.target) doesn't work in FF if popup blocker enabled
    where "framename" is the name of the frame you wish to target.
    DD Admin

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

    Default very nice

    ... good job
    Thank you very much

    theebar

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

    Default Mainmenu/Headerbar

    I determined into further problem; by repeated back and forth click on the "Headerbar" ("just" by Mainmenu/headerbar without Subnavigation/submenu) the respective side cannot be suddenly opened any longer (IEx + Firefox!).

    Mainmenu/Headerbar-Navigation without Submenu:
    - Kundennutzen im Niedrigenergie- und Minergie-Standard
    - Unsere Dienstleistungen
    - Kontakt
    (Switch between this parts, after a certain time the do not function any longer !?)
    => Testsite; http://web469.iname.ch/test09.htm


    Best thanks for your efforts
    theebar

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
  •