jcalabro
04-25-2006, 08:59 PM
hey all,
what i need to do is open a navigation window, with no toolbar.. etc. The navigation itself opens popups and closes them. In order to open the nav with no toolbar and such i had to create another Page to Open the Navbar.
But Now... The navbar closes itself instead of open and closing windows!!
heres what i got.
heres the code in the nav bar
MYBTN.onRelease = function() {
getURL("javascript:self.close();");
getURL("javascript:Launch('http://www.THIS.com', 800, 800)");
};
and heres what i got html/javascript side
<script language="JavaScript">
function Launch(page, width, height) {
OpenWin = this.open(page, "myPage", "toolbar=no, menubar=no ,location=no, scrollbars=yes, resizable=yes, width=" + width + ", height=" + height + ", top=" + (screen.height/2 - height/2) + ", left=" + (screen.width/2 - width/2) + "\"");
}
</script>
I used the same code to open my Navigation bar, but it was opened VIA the javascript it closes itself :(
anyone have a solution?!
any help would be appreciated!!
what i need to do is open a navigation window, with no toolbar.. etc. The navigation itself opens popups and closes them. In order to open the nav with no toolbar and such i had to create another Page to Open the Navbar.
But Now... The navbar closes itself instead of open and closing windows!!
heres what i got.
heres the code in the nav bar
MYBTN.onRelease = function() {
getURL("javascript:self.close();");
getURL("javascript:Launch('http://www.THIS.com', 800, 800)");
};
and heres what i got html/javascript side
<script language="JavaScript">
function Launch(page, width, height) {
OpenWin = this.open(page, "myPage", "toolbar=no, menubar=no ,location=no, scrollbars=yes, resizable=yes, width=" + width + ", height=" + height + ", top=" + (screen.height/2 - height/2) + ", left=" + (screen.width/2 - width/2) + "\"");
}
</script>
I used the same code to open my Navigation bar, but it was opened VIA the javascript it closes itself :(
anyone have a solution?!
any help would be appreciated!!