Jump to content

Archived

This topic is now archived and is closed to further replies.

mattachoo

Sizable Popup window, IE problems

Recommended Posts

I have a image that needs to open a new window.  I want this window to be automatically resized too.  Now, here is the code I have.  It works in Mozilla Firefox, but not IE.

[code]
<a href="mp3player.html" onClick="window.open('mp3player.html', 'musicplayer', 'toolbar=no, directories=no, location=no, status=no, menubar=no, resizable=no, scrollbars=no, width=315, height=145'); return false" title="Launch Music Player"><img src="images/launchmediaplayer.jpg" name="player" width="300" height="60" border="0" id="player" onMouseOver="this.src='images/launchmediaplayerALT.jpg';" onMouseOut="this.src='images/launchmediaplayer.jpg';" /></a>
[/code]

Help would be appreciated, thanks!

Share this post


Link to post
Share on other sites
What do you mean by automatically resized, and what exactly does it do in Mozilla but not IE?

I tried it in IE and it opens exactly as I expected.  My Mozilla browser insists on opening links in tabs, so I couldn't see what that does.

Share this post


Link to post
Share on other sites
I want it to open in a new window, but instead of it being just a "_blank" link, I want it to be a popup, meaning I want it to be of a specific width and length, and with location bars and whatnot.  The popup opens fine in Mozilla, but the window won't even open in IE.  Maybe it is because of my norton internet security, who knows, but otherwise, you think my code is good?

In mozilla, the window opens, it is resized, without a location bar and all that other jazz.  IE, the link doesn't even work.

Ain't that a bitch.  It was my Norton Internet Security popup blocker.  OK, thanks!

Share this post


Link to post
Share on other sites
Yup, the code was fine all along!  Browser compatibility issues are really a pain.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.