Inside chainedmenu.js, try replacing the below function:
Code:
function goListGroup(){
for (i=arguments.length-1;i>=0; i--){
if (arguments[i].selectedIndex!=-1){
var selectedOptionvalue=arguments[i].options[arguments[i].selectedIndex].value
if (selectedOptionvalue!=""){
if (onclickaction=="alert")
alert(selectedOptionvalue)
else if (newwindow==1)
window.open(selectedOptionvalue)
else
window.location=selectedOptionvalue
break
}
}
}
}
with the following instead:
Code:
function goListGroup(){
for (i=arguments.length-1;i>=0; i--){
if (arguments[i].selectedIndex!=-1){
var selectedOptionvalue=arguments[i].options[arguments[i].selectedIndex].value
if (selectedOptionvalue!=""){
var myiframe=window.frames["myiframe"]
myiframe.location.replace(selectedOptionvalue)
break
}
}
}
}
where "myiframe" in red is the name of your IFRAME on the page, such as:
Code:
<iframe name="myiframe" style="width: 90%; height: 300px; border:1px solid black"></iframe>
Bookmarks