Click to See Complete Forum and Search --> : the window. object (JS)


viletouch
10-08-2004, 05:48 PM
I already know how to asign properties to a popup window via window.open(properties); thats a no menu, no overflow, no statusbar, no buttons, etc. window right? everybody knows how to do that!
but what i want, and the reason of this post is that my attemtpts to asigning those values to THIS window (the window from wich the script is loaded) have been nothing more than frustrating....
i tried with references like

.this , .top , .self

but it's always the same error -> member not found... that might be some sintax problem....
I have been looking for the window object in my books but the only reference i could find was to the window.open, not even a list of properties.
now i need HELP!

Jona
10-08-2004, 07:08 PM
Well, they are all hierarchically top-level objects, so you don't usually say "window.this" or "window.top," you say "this" or "top."

Paul Jr
10-09-2004, 12:34 AM
Also note that you cannot modify window chrome (remove menu/status bar/location/ect.) unless you are opening a new window.