Can anybody tell me what I am doing wrong here? I am trying to create a simple popup. It works fine in IE, but not in Netscape 4.72. In Netscape it is giving me the error "The parameter is incorrect".
Following is the code I am using:
Code for the driver:
Code for the Popup:
Any help would be appreciated!
Thanks, Dave.
Following is the code I am using:
Code for the driver:
Code:
<html>
<head>
<title>Test Popup</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<SCRIPT TYPE="text/javascript">
<!--
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
href=mylink;
else
href=mylink.href;
window.open(href, windowname, 'width=400,height=500,scrollbars=no');
return false;
}
//-->
</SCRIPT>
<body text="#000000">
<CFSET short_desc = "Test It">
<cfoutput>
<a href="##" onClick="return popup('dsp_test_popup.cfm?short_desc=#short_desc#','Test1')">larger view</a>
</cfoutput>
</body>
</html>
Code for the Popup:
Code:
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<cfoutput>
#url.short_desc#
</cfoutput>
</body>
</html>
Any help would be appreciated!
Thanks, Dave.