By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,382 Members | 1,645 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,382 IT Pros & Developers. It's quick & easy.

window.open not working in IE

P: n/a
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,resi zable')" />

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

Thanks for any hint!

Alessandra
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
In article <be**********@lacerta.tiscalinet.it>, "Alessandra"
<al********@inwindxyz.it> writes:
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','Hel p on units
field','width=400,height=200,left=200,top=200,res izable')" />

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

Thanks for any hint!

Alessandra


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_fie ld','width=400,height=20
0,left=200,top=200,resizable')" />

Works in my IE6.
--
Randy
All code posted is dependent upon the viewing browser
supporting the methods called, and Javascript being enabled.
Jul 20 '05 #2

P: n/a
HikksNotAtHome wrote:
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_fie ld','width=400,height=20
0,left=200,top=200,resizable')" />

Works in my IE6.


Thanks Randy, it works now!

Alessandra
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.