Forum Moderators: open

Message Too Old, No Replies

Help with link - new window

         

adammc

6:18 am on Mar 19, 2007 (gmt 0)

10+ Year Member



HI folks,

I am really stuck as to why my new window wont open in I.E but works fine in Firefix?

My only guess is a popup blocker?

<li><a href="#" onClick="window.open('online-chat/index.php','Krishna Chat','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=600,height=488,left=380,top=120');return false;">Chat Rooms</a></li><br />

When I click the link above in I.E 7, no window appears.
In Firefox, it works perfectly?

Can anyone help?

penders

7:51 am on Mar 19, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Try changing your link to:
<a href="online-chat/index.php" onClick="window.open('online-chat/index.php','Krishna Chat'); return false;">Chat Rooms</a>

It's a good idea to include an href, so that users without JS can at least access your content (and IE might check this)?! Removing the 'feature list' (3rd arg) is just a test, as IE7 is unlikely to honour all settings, particulary controling the window size and location (in the interests of blocking pop ups).

If that still doesn't work, then it's possibly IE7's popup blocker - although set rather 'high' in my opinion.

adammc

11:19 pm on Mar 19, 2007 (gmt 0)

10+ Year Member



thank you so much for your help :)