raman Posted April 20, 2010 Share Posted April 20, 2010 <a href='exampleseq.html' onclick="window.open('exampleseq.html','popup','width=560,height=280,scrollbars=yes,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false">Example sequences</a> The above is a hyperlink for a pop-up window, this works fine in redhat linux but does not work on solaris. I am using apache in both. can someone say why? Link to comment https://forums.phpfreaks.com/topic/199097-simple-hyperlink-question/ Share on other sites More sharing options...
haku Posted April 20, 2010 Share Posted April 20, 2010 Whatever your problem is, it has nothing to do with the OS, since your code is javascript which is run on the browser. In other words, your issue is a browser issue. Code looks fine to me though. Link to comment https://forums.phpfreaks.com/topic/199097-simple-hyperlink-question/#findComment-1045021 Share on other sites More sharing options...
raman Posted April 20, 2010 Author Share Posted April 20, 2010 But I am viewing both in the same browser. beacuse my everyday working machine is linux and my server is solaris. Link to comment https://forums.phpfreaks.com/topic/199097-simple-hyperlink-question/#findComment-1045024 Share on other sites More sharing options...
haku Posted April 20, 2010 Share Posted April 20, 2010 What do you mean by 'does not work'? Link to comment https://forums.phpfreaks.com/topic/199097-simple-hyperlink-question/#findComment-1045033 Share on other sites More sharing options...
F1Fan Posted April 20, 2010 Share Posted April 20, 2010 Try putting it into a function. It will make your code cleaner, too. Link to comment https://forums.phpfreaks.com/topic/199097-simple-hyperlink-question/#findComment-1045169 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.