I'm building a site with around 4 frames. One has a 'jumpmenu' that serves different urls in two other frames. I've managed to make my ugly scripts working in IE, but in NS(4-6)I get simply
"
"
displaying in both targetted frames.
The jumpmenu frame is this:
Any ideas? Do i need some kind of 'global mountpoint'?
"
Code:
<html><body></body></html>
displaying in both targetted frames.
The jumpmenu frame is this:
Code:
<!-- changes content of main 'mid' frame -->
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value1+"'");
if (restore) selObj.selectedIndex=0;
}
<!-- changes content of bottom'bot' frame -->
function MM_botty(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value2+"'");
if (restore) selObj.selectedIndex=0;
}
</head>
<body bgcolor="#03181E" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" onLoad="">
<table width="640" cellpadding="0" cellspacing="0" border="0"><tr><td valign="top">
<img src="file:///F|/Survey2002/Drawing%20Site/images/top_key.gif"/></td><td align="right" valign="top">
<form name="topnav" method="post" action="" target="bot">
<div align="right">
<select name="select" onChange="MM_jumpMenu('parent.frames[\'mid\']',this,0) ;MM_botty('parent.frames[\'bot\']',this,0)" style="background-color:#03181E; border-style:1px; font-size: 10; color: #FFFFFF; font-family: verdana, helvetica, arial" width: 50px;>
<option value="00_2002f.asp" selected>navigate</option>
<option value="00_2002f.asp">~~~~~~~~~~~~~~</option>
<option value1="key1.html" value2="bot_5.htm">01. introduction</option>
<option value1="key1.html" value2="bot_6.htm">02. key findings</option>
<option value1="skeleton.html" value2="bottom.htm">03. internet users</option>
</select>
</div></form></td></tr></table>
</body>
</html>
Any ideas? Do i need some kind of 'global mountpoint'?