hello all. im having trouble getting my jump menu to jump. i have an iframe and inside that iframe i have a frame set with three frames. the top frame has the main jump menu that i want to direct to the second frame that has the sub jump menu and the sub jump menu i want to open the content in the main frame within the frame set. it was a simple dreamweaver creation but when i placed the frameset in the iframe i found out it does not work.
basically i want a jump menu to open a html file in another frame within an iframe. can anybody offer any assistance?
here is the code for the iframe:
[CODE]<iframe src=”http://example.com/frameset.html” width=320 height=240 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=”no”></iframe>
here is the code for the frameset:
[CODE]<frameset rows=”23,*” cols=”*” framespacing=”0″ frameborder=”no” border=”0″ id=”frameset”>
<frame src=”menu.html” name=”topFrame” scrolling=”No” noresize=”noresize” id=”topFrame” />
<frameset rows=”23,*” cols=”*” framespacing=”0″ frameborder=”no” border=”0″>
<frame src=”subMenuBlank.html” name=”bottomFrame” scrolling=”No” noresize=”noresize” id=”bottomFrame” />
<frame src=”” name=”mainFrame” id=”mainFrame” />
</frameset>
</frameset>
<noframes>
here is the code for the jump menu:
[CODE]<script type=”text/JavaScript”>
<!–
function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+”.location='”+selObj.options[selObj.selectedIndex].value+”‘”);
if (restore) selObj.selectedIndex=0;
}
//–>
</script>
</head>
<body>
<form name=”form1″ id=”form1″>
<select name=”mainMenu” class=”jumpBox” onchange=”MM_jumpMenu(‘frameset.frames[‘bottomFrame’]’,this,0)”>
<option value=”subMenuBlank.html” selected>please select a category…</option>
<option value=”javascript:null()”></option>
<option value=”MM_theMainEvent.html”>THE MAIN EVENT (showcase galleries)</option>
<option value=”MM_documentThisDK.html”>DOCUMENT THIS (danish days)</option>
<option value=”MM_documentThisSCO.html”>DOCUMENT THIS (the old days)</option>
<option value=”MM_girlsAndBoys.html”>GIRLS & BOYS</option>
<option value=”javascript:null()”>–</option>
<option value=”MM_salida.html”>ALL THINGS SALIDA</option>
<option value=”MM_roskilde05.html”>ROSKILDE FESTIVAL 2005</option>
<option value=”MM_artWork.html”>ART WORK</option>
<option value=”javascript:null()”>–</option>
<option value=”javascript:null()”></option>
</select></form>
any help would be great.
kind regards,
~alerio