Jump to content

javascript:window.open not working for internet explorer


stevehart808

Recommended Posts

Hi guys, I have a media player that opens its own window and works fine with Firefox but it's not working for internet explorer. Been trying for ages and lots of different suppose solutions but still no go. The only thing that happens when you click the link is, bottom left - error on page. Any help would be much appreciated.

 

echo'<ahref="javascript:window.open(\'http://www.xstreameast.co.uk/player/index.php?listen_again='.$row['file'].'\',\'XSE Player\', \'width=650,height=375,top=0,left=0\');void(0);" class="article_link"><img src="images/listen.gif" width="46" height="8" alt="" border="0"></a>';

Link to comment
Share on other sites

Try putting it into a function within <script type="text/javascript"></script> tags .. When you use inline js like that sometimes browsers may see it as malicious code..

 

By the way this is the PHP forum..

 

Adam

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.