alaios
08-16-2002, 05:26 PM
this works with ie 5 but not with netscape 4.75
the problem is the line
onClick="MM_goToURL('parent','1.htm?0:0')
this works properly '1.htm but not this '1.htm?0:0'
why ? what can i do?
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">
<script language="JavaScript">
<!--
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="">
<input type="button" name="Button" value="Button" onClick="MM_goToURL('parent','1.htm?0:0');return document.MM_returnValue">
</form>
</body>
</html>
the problem is the line
onClick="MM_goToURL('parent','1.htm?0:0')
this works properly '1.htm but not this '1.htm?0:0'
why ? what can i do?
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">
<script language="JavaScript">
<!--
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="form1" method="post" action="">
<input type="button" name="Button" value="Button" onClick="MM_goToURL('parent','1.htm?0:0');return document.MM_returnValue">
</form>
</body>
</html>