Help - Search - Members - Calendar
Full Version: Quick HTML Question
Hostony Board > General > Anything and Everything
ifprod
I need to create a popup window that opens to a fullscreen window and not in the fullscreen mode. Please check out SmartAss Productions and click on screening room. You'll notice that the window opens in a fullscreen mode. I need it to open in a full window mode.

I think that i may have to create a javascript for this which creates a get monitor resolution funciton and then opens a window to that size with no scrollbars, or title bars. My main issue is I still want users to be able to click on the X to get out of the window.

Does anyone know the source code for this, I assume it's not that difficult. Thanks.
Stanly
1. You can get resolution via:
screen.Width
screen.Height

2. Open New Window function documentation:

CODE
w=open('','windowname','width=600,height=250,scrollbars,resizable,toolbar,status');


Example: Open('','NewWin','width=1024, height=768, no, no, yes, yes);
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.
IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here