G
ganya
<script language="JavaScript">
<!--
function closePopUp() {
if (window.popupwin)
{
popupwin.close();
}
}
function spawnWindow(URL,Name,features) {
popupwin = window.open(URL,Name,features);
}
//-->
</script>
In the above script everything works fine on a PC but fails on IE5 for
the Mac.. anybody have any ideas? The script checks to see if a popup
window is already open and then closes it and opens a new one if there
is. Otherwise it just opens a new window.
Thanks in advance
<!--
function closePopUp() {
if (window.popupwin)
{
popupwin.close();
}
}
function spawnWindow(URL,Name,features) {
popupwin = window.open(URL,Name,features);
}
//-->
</script>
In the above script everything works fine on a PC but fails on IE5 for
the Mac.. anybody have any ideas? The script checks to see if a popup
window is already open and then closes it and opens a new one if there
is. Otherwise it just opens a new window.
Thanks in advance