stevehart808 Posted November 5, 2008 Share Posted November 5, 2008 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>'; Quote Link to comment Share on other sites More sharing options...
Adam Posted November 5, 2008 Share Posted November 5, 2008 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 Quote Link to comment Share on other sites More sharing options...
Adam Posted November 5, 2008 Share Posted November 5, 2008 Oh wait sorry, missed the 'error in bottom left corner' bit.. Errmm only thing that looks a little out of place is: "void(0);" .. try removing that? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.