Can those functions co-exist?

wxdqz

New Member
I have an I-frame un my document and several links outside of it that should open contents inside I-frame, and I have another link that should open a new browser window, but it doesn't work anymore since the I-frame is in the page...

<script language="JavaScript">
<!--
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false

function load(page) {
if (ns4) document.textLayer.src = page
else if (ie4) parent.textFrame.document.location = page
}

function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_openBrWindow(theURL,winName,features) { //v2.0
var URL = theURL + "?varid=" + document.referencia.varid.value + "?envio1=" + document.form1.envio1.value + "?envio2=" + document.form1.envio2.value + "?envio3=" + document.form1.envio3.value + "?envio4=" + document.form1.envio4.value + "?envio5=" + document.form1.envio5.value + "?envio6=" + document.form1.envio6.value;

window.open(URL,winName,features);
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
if (restore) selObj.selectedIndex=0;
}
</script>
 
Back
Top