Results 1 to 3 of 3

Thread: Script: Top navigational bar III

  1. #1
    Join Date
    May 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Script: Top navigational bar III

    http://www.dynamicdrive.com/dynamici...men3/index.htm

    I have been trying to implement this script in a web page, in which there are frames. The script works nicely except as regards targets. If I use targets such as _parent, _blank or _self, it works properly, but I can't seem to target to the frame when I complete the script with the name of this frame _bottom, as it were.

    Can anyone help me with this question ? thank you very much.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You may be able to use this convention:
    Code:
    addSubmenuItem("javascript:parent.main.location='http://www.cnn.com'","News","","");
    Where main is the name of the frame you are targeting in the menu's parent frameset.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I tried this, and I found that when I do so the frame that I mentioned is targeted but also that the menu disappears from one of the frames and 'about blank' appears instead.
    However, if I repeat the code with the name of the two frames to be targeted (one where the menu should remain visible, and one where the web page that the menu link points to should be displayed, it works really well.

    Thanks ever so much, for your skilled and speedy reply.

    Nathalie

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
  •