Results 1 to 2 of 2

Thread: AnyLink JS Drop Down Menu v2.3 Targeting IFRAME problem

  1. #1
    Join Date
    Jun 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AnyLink JS Drop Down Menu v2.3 Targeting IFRAME problem

    1) Script Title: AnyLink JS Drop Down Menu v2.3 targeting IFRAME problem

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

    3) Describe problem:
    I would like to target the link to an IFRAME instead of opening a new tab or targeting same window.
    My Iframe name is Mainframe.
    I put in the targetlink as my iframe name but it have same effect as '_new',
    opening a new tab instead opening in the iframe.


    Code:
    var anylinkmenu1={divclass:'anylinkmenu', inlinestyle:'', linktarget:'Mainframe'} //First menu variable. Make sure "anylinkmenu1" is a unique name!
    anylinkmenu1.items=[
    	["Gallery", "content/gallery.html"]
    ]
    Greatly appreciate if there is anyone that can help me!!

  2. #2
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,359
    Thanks
    30
    Thanked 137 Times in 132 Posts
    Blog Entries
    32

    Default

    Then there must be something wrong in your main page (containing the iframe).
    On that page, there should be something like
    Code:
    <iframe name='Mainframe'></iframe>
    not:
    Code:
    <iframe id='Mainframe'></iframe>
    I tested it, and it works with me.

Similar Threads

  1. AnyLink JS Drop Down Menu-drop down positioning problem g
    By BobMinkin in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 03-27-2009, 02:47 PM
  2. Problem with anylink drop down menu
    By dylanphelan in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 11-22-2007, 06:26 PM
  3. Drop Down Menu not Targeting IFrame
    By Hangar1 in forum Dynamic Drive scripts help
    Replies: 11
    Last Post: 01-06-2007, 04:06 PM
  4. Anylink Drop Down Menu Problem
    By em1500uk in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 09-05-2006, 04:02 PM
  5. AnyLink Drop Down Menu & IFrame SSI script II
    By BrightStarPro in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 01-30-2006, 07:45 PM

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
  •