/    Sign up×
Community /Pin to ProfileBookmark

the window. object (JS)

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!

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@JonaOct 09.2004 — [font=trebuchet ms]Well, they are all hierarchically top-level objects, so you don't usually say "window.this" or "window.top," you say "this" or "top."[/font]
Copy linkTweet thisAlerts:
@Paul_JrOct 09.2004 — [font=palatino linotype]Also note that you cannot modify window chrome (remove menu/status bar/location/ect.) unless you are opening a new window.[/font]
×

Success!

Help @viletouch spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...