Results 1 to 2 of 2

Thread: New issue with HV Menu and iFrame

  1. #1
    Join Date
    Apr 2007
    Location
    Mass.
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default New issue with HV Menu and iFrame

    1) Script Title: HV Menu v5.5

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

    3) Describe problem: Once I click on a link in my drop downlist and load a page into my iFrame with this code:

    Menu1_1=new Array("Interoperability","javascript:main.document.location.href='http://mylink';","",0,20,150);

    It will not let me load another page into the iframe that I titled "main" I get an error. Do I have to "unload" or clear this area before linking another page to the iframe window?

  2. #2
    Join Date
    Apr 2007
    Location
    Mass.
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Nevermind, I also fixed this problem with this code:

    javascript:window.top.main.location.href=

    instead of:

    main.document.location.href

    Main is the name of my iframe

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
  •