Results 1 to 2 of 2

Thread: Frame Link ??

  1. #1
    Join Date
    Aug 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Red face Frame Link ??

    1) Script Title: javascript (exmplmenu_var.js) from your Website

    2) Script URL http://www.dynamicdrive.com/dynamici...menu/index.htm

    Describe problem:

    ----- Menu2=new Array("3 Wochen Ferien","blank.htm","",10); ---
    Sample: Menu1=new Array("Home","javascript:top.document.location.href='INDEX.html';","",0,20,115);



    I have some Website with Frames. The Menu is in the Leftsite.The problem is the Link (!! target !!) i can't say target="haupt" to open the Site in the middle

    Thanks for help.

  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

    Try:

    Code:
    Menu1=new Array("Home","javascript:top.document.haupt.location.href='INDEX.html';","",0,20,115);
    or:

    Code:
    Menu1=new Array("Home","javascript:top.document['haupt'].location.href='INDEX.html';","",0,20,115);
    or:

    Code:
    Menu1=new Array("Home","javascript:top.document['haupt'].src='INDEX.html';","",0,20,115);
    or:

    Code:
    Menu1=new Array("Home","javascript:window.open('INDEX.html','haupt');","",0,20,115);
    - John
    ________________________

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

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
  •