window.open not working in IE

A

Alessandra

Hi all,

I am trying to build a pop-up into a Web page. The pop-up should open when
clicking a button. It works fine on Mozilla and Opera, but Internet Explorer
refuses to open the pop-up. How can I make it work?
The code is:

<input type="button" value="Help"
onClick="javascript:window.open('help.htm','Help on units
field','width=400,height=200,left=200,top=200,resizable')" />

and the page is here:
http://www.amtrad.it/feewizardol.php (The "Help" buttons do not work in IE.)

Thanks for any hint!

Alessandra
 
A

Alessandra

HikksNotAtHome said:
remove the spaces from the window name, and remove the un-needed
javascript:

<input type="button" value="Help"
onClick="window.open('help.htm','Help_on_units_field','width=400,height=20
0,left=200,top=200,resizable')" />

Works in my IE6.

Thanks Randy, it works now!

Alessandra
 

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
474,076
Messages
2,570,565
Members
47,201
Latest member
IvyTeeter

Latest Threads

Top