You are here: Works in Firefox, but not in IE?!?! « HTML « IT news, forums, messages
Works in Firefox, but not in IE?!?!

Posted by johnsonholding@yahoo.com on 01/12/06 02:34

Here is the code for a pop-up window that works in Firefox and not in
IE - I get a java error or something,

Here is the code :

</script>

<SCRIPT language="JavaScript" type="text/javascript">
<!-- ;
var newwindow = ''
function popitup(url) {
if (newwindow.location && !newwindow.closed) {
newwindow.location.href = url;
newwindow.focus(); }
else {

newwindow=window.open(url,'whatsyourvice.htm','width=130,height=180,resizable=1');}

}

function tidy() {
if (newwindow.location && !newwindow.closed) {
newwindow.close(); }
}

// Based on JavaScript provided by Peter Curtis at www.pcurtis.com -->
</SCRIPT>

And then :
<div align="left"><a
href="javascript:popitup('whatsyourvice.htm')"><b><font face="Verdana,
Arial, Helvetica, sans-serif" size="1" color="#FFFF00">Click
here for <br>"What's Your
Vice?</font></b></a></div>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация