/    Sign up×
Community /Pin to ProfileBookmark

how to popup a non-resizeble window

Hello! I would like to know if there is any javascript to deactivate the maximize button of the browser.
I have a page with a link to open a new window. this new window has 400×200 pixels, and the content of the page is centered on an image background, and if the users maximize the window, the content will not be in the right place any more. That’s why i need something tho deactivate the maximize button, to be a non-resizeble window.
I apreciate all the help.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@screamingbuddhaNov 21.2002 — resizable=0
Copy linkTweet thisAlerts:
@StefanNov 21.2002 — [i]Originally posted by PILOT [/i]

the content of the page is centered on an image background, and if the users maximize the window, the content will not be in the right place any more. [/QUOTE]


This sounds more like a HTML/CSS coding error then something that would require that you force a special size on your poor unsuspecting users.

Post the url and we can help you fix it the _proper_ way.
Copy linkTweet thisAlerts:
@Zach_ElfersNov 21.2002 — Of course you can also do resizable=no.
×

Success!

Help @PILOT 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.3,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...