I get an error on a _javascript_ pop-up code. Something about "Expected )" Its either a ) or } I'm not sure.
I'm not that good with _javascript_. Any ideas on the code below please?
Thx.
<script LANGUAGE="_javascript_">
var newWindow;
var firsttime=0;
function PopWindow(url)
{
if (firsttime==0) {
newWindow=window.open (url, "newWindow", "width=600,height=200,menubar=no,scrollbars=no,toolbar=no,location=no,directories=no,resizable=no");
firsttime++;
}
else{
if (newWindow) {newWindow=window.open (url, "newWindow", "width=600,height=200,menubar=no,scrollbars=no,toolbar=no,location=no,directories=no,resizable=no"); newWindow.focus();
} else {
newWindow.location.href="" newWindow.focus();}
}
}
</script>
Robert O.
HWW
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- Re: OT: js pop-up Robert Orlini
- Re: OT: js pop-up Ben Doom
- Re: OT: js pop-up Greg Stewart
- RE: OT: js pop-up Robert Orlini