PDA

View Full Version : linktarget in menucontents.js doesn't work properly



naremkim
12-20-2018, 01:23 PM
Hi !

The problem page is http://xn--ww4b.com.
The target for the AnyLink menu worked fine previously but now it doesn't work properly. On I.E. and Microsoft Edge the linktarget 'left3' in the first line of the following code of menucontents.js brings _blank target than showing left3-2.html page in the frame of 'Under Construction' page which named 'left3' and on Chrome it shows nothing.



var anylinkmenu1={divclass:'anylinkmenu', inlinestyle:'', linktarget:'left3'} //First menu variable. Make sure "anylinkmenu1" is a unique name!
anylinkmenu1.items=[
["Dynamic Drive", "http://www.dynamicdrive.com/"],
["CSS Drive", "http://www.cssdrive.com/"],
["JavaScript Kit", "http://www.javascriptkit.com/"],
["Coding Forums", "http://www.codingforums.com/"],
["JavaScript Reference", "http://www.javascriptkit.com/jsref/"] //no comma following last entry!
]
var anylinkmenu2={divclass:'anylinkmenu', inlinestyle:'width:150px; background:#FDD271', linktarget:'left3'} //Second menu variable. Same precaution.
anylinkmenu2.items=[
["CNN", "http://www.cnn.com/"],
["MSNBC", "http://www.msnbc.com/"],
["Google", "http://www.google.com/"],
["BBC News", "http://news.bbc.co.uk"] //no comma following last entry!
]
var anylinkmenu3={divclass:'anylinkmenucols', inlinestyle:'', linktarget:'left3'} //Third menu variable. Same precaution.
anylinkmenu3.cols={divclass:'column', inlinestyle:''} //menu.cols if defined creates columns of menu links segmented by keyword "efc"
anylinkmenu3.items=[
["경기미", "left3-2.html"],
["강원미", "left3-2.html"],
["충북미", "left3-2.html"],
["충남미", "left3-2.html"],
["전북미", "left3-2.html", "efc"],
["전남미", "left3-2.html"],
["경북미", "left3-2.html"],
["경남미", "left3-2.html", "efc"],
["현지:국보쌀", "left3-2.html"],
["현지:로즈쌀", "left3-2.html"],
["현지:칼로즈", "left3-2.html", "efc"],
["현지:이천쌀", "left3-2.html"],
["현지:경기미", "left3-2.html"]//no comma following last entry! //no comma following last entry!
]
var anylinkmenu4={divclass:'anylinkmenu', inlinestyle:'width:150px; background:#DFFDF4', linktarget:'left3'} //Second menu variable. Same precaution.
anylinkmenu4.items=[
["CNN", "http://www.cnn.com/"],
["MSNBC", "http://www.msnbc.com/"],
["Google", "http://www.google.com/"],
["BBC News", "http://news.bbc.co.uk"] //no comma following last entry!
]

I think the 'linktarget' doesn't work properly in recent time. Anyone knows how to fix it ?

naremkim