Forum Moderators: open

Message Too Old, No Replies

Fullscreen Netscape

Works offline but not online!?!?

         

aquarian

12:57 pm on Dec 4, 2002 (gmt 0)



Hi,

Here's some code I used to make a pop-up window true fullscreen upon clicking on a link in Netscape.

function doit() {
if (document.layers) {
netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserWrite');
window.open('nocrome.htm','newwin','titlebar=no,width=' + window.screen.availWidth+',height='+window.screen.availWidth+',screenX=0,screenY=0')
}
}

The problem is, it works fine offline, but when I upload it to the server and try it out, nothing happens when I click on the link.

This is what I used in the link tag:
<a href="javascript:doit();">

Can anyone PLEASE help me with this?!? Thanks!

aquarian

4:15 pm on Dec 4, 2002 (gmt 0)



Nevermind, I figured it out.....signed certificates....