Hello, I have a number of links opening in a fixed window that certain users cannot access because they are on netscape 4.6 (I think this can handle the links and it is actually their ancient computers which cannot, but either way they are all on netscape), the current onclick command looks like this:
[CODE=javascript]<A onclick="wopen( 'page url', 'popup', 670, 395); return false;" href="page url" target=popup>
which activates this script:
<SCRIPT>
<!--
function wopen(url, name, w, h)
{
w += 32;
h += 108;
var win = window.open(url ,
name,
'width=' + w + ', height=' + h + ', ' +
'location=no, menubar=no, ' +
'status=no, toolbar=no, scrollbars=no, resizable=no');
win.resizeTo(w, h);
win.focus();
}
// -->
</SCRIPT>[/CODE]
I want to make this link detect if a user is on netscape 4.6 and redirect them to a different url if they are, or continue to the normal link if not.
Can anybody help me out?
[CODE=javascript]<A onclick="wopen( 'page url', 'popup', 670, 395); return false;" href="page url" target=popup>
which activates this script:
<SCRIPT>
<!--
function wopen(url, name, w, h)
{
w += 32;
h += 108;
var win = window.open(url ,
name,
'width=' + w + ', height=' + h + ', ' +
'location=no, menubar=no, ' +
'status=no, toolbar=no, scrollbars=no, resizable=no');
win.resizeTo(w, h);
win.focus();
}
// -->
</SCRIPT>[/CODE]
I want to make this link detect if a user is on netscape 4.6 and redirect them to a different url if they are, or continue to the normal link if not.
Can anybody help me out?
Comment