This code fails on IE but works with Netscape / Mozilla

M

Madhusudan Singh

<script language="Javascript1.1" type="text/javascript">
function xso_popup(url,name,options)
{
var cw=window.open(url,name,options);
cw.opener=this;
cw.focus();
}

Link :

<a href="javascript:xso_popup('http://www.somewebsite.com/images/image 239.jpg','Enlarged View','width=300,height=300,scrollbars,resizable')">


What could be wrong ?? I just get a "Error on page" error with some gripe
about arguments.

Left to myself, I would not even bother about IE, but its the most popular
browser out there, and I need to get this to work with IE as well.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top