xporiten
06-27-2013, 04:30 PM
1) Script Title: AnyLink JS Drop Down Menu v2.3 targeting IFRAME problem
2) Script URL (on DD):http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.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.
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) Script URL (on DD):http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.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.
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!!