PDA

View Full Version : Java Popup Window Settings


CrestDelegate
08-05-2005, 03:42 PM
Hello, all.

I have a popup window with a Darkplayer, and is it possible to have a script that automatically adjusts the width to whatever the screen area of the viewer? (800-600, 1024x768)

<a href="C:\Documents and Settings\Timothy\Desktop\My Website\DarkPlayer.html" onclick="window.open(this.href, 'popupwindow', 'width=400,height=75,no scrollbars,resizable'); return false;"> Darkplayer</a>

_Aerospace_Eng_
08-05-2005, 04:07 PM
So you want the popup to be as wide and high as the users resolution? It can be done yes but if you are going to do this, why would want to do it in the first place? Why not just use a normal page? no scrollbars isn't even valid syntax for the window.open function. One more thing Java is NOT javascript please don't confuse them.