View Full Version : non-resizable window WITHOUT a popup?
08-29-2004, 01:45 AM
Hi. I'm trying to make a page non resizable WITHOUT opening a popup.
How would I go about having a link on a page that when clicked, opens a new page AND resizes the window and making it non-resizable and non-scrollable.
I know you can do this as a popup, but that is just annoying and some peoples popup blockers may block it. Some one suggested in having a script that opens a new window and closes the old one but some people might not like that either.
On another note, how do I keep it so that if someone links to the page that needs to be resized directly, how would I get it to be resized then? having this page not resized completely ruins the site design.
Any help would be greatly appreciated.
08-29-2004, 03:10 AM
Well, the usability friend inside of me would tell you that windows - new, old, sizes and content - are part of the user interface, and the user interface is the user's to do with as he wishes, not yours as a web developer.
Closing windows that are not opened by script is disallowed by all browsers but op, though there's a way around this in iew.
As you say a popup blocker may prevent that popup you want to do, though you can get around most of them by making the popup trigger on for example a click on a link instead of as an automatic event.
Well, what this boils down to is: You have no control over the window, not to speak of the window size, so forget about it already. Instead concentrate on the document you want to display inside the window: can you make the document in such a way that the window size is irrelevant, by for example creating a box that limits the content size if the user happens to change window size? This has the additional benefit of solving your external linking problem as well.
08-29-2004, 08:47 AM
Well I understand your point completely, but I am making a portfolio site (for myself and my 3D design)
This non-resizable window thing is something that I see a LOT with porfolio sites.
This (http://locoman.kapowwie.com/) is the site that really inspired me to have this type of design. the plans that I have for the site really call for it. The only thing I wanted different was so that the main page it self would be non-resizable without having to open a pop-up.
08-29-2004, 10:19 AM
A portfolio site which locks out most of your visitors is well, a waste of time... Besides, you are spinning wheels and most of these window exploits have been addressed with the release of SP2.... I would suggest that you seriously consider Liorean's suggestions...
08-29-2004, 12:18 PM
OK OK :D you guys win. I've come up with a new design that still works well for what I had planed AND is within a full-size REsizable window. :D
Thanks for the tips guys.
08-29-2004, 12:58 PM
You are still spinning wheels if you are using a full-size REsizable window....
All of these window property exploits have been addressed with the release of SP2 and you can no longer open a window without titlebar, addressbar or scrollbars...
08-30-2004, 03:22 AM
LOL what are you talking about? :D EVERY normal page IS a fullsize resizable window. take a look at the window you are in right now. you can maxamize it to your screen (fullsize), and you can resize it to anything you want. ;) :p
08-30-2004, 01:15 PM
Note: window.open() with fullscreen=yes will now result in a maximized window, not a kiosk mode window.
Perhaps you should go over to the MSDN Library (http://msdn.microsoft.com/security/default.aspx?pull=/library/en-us/dnwxp/html/xpsp2web.asp) and read for yourself the security changes which were made with the release of SP2...
08-30-2004, 03:04 PM
LOL you still don't get what I'm saying. haha
I'm talking about a NORMAL window, the window at THIS site, the window at www.google.com, the window at ANY NORMAL web page. ;)
I'm NOT talking about forcing the window to do ANYTHING
08-30-2004, 03:32 PM
Then why do you keep mentioning Full Size???
Try pressing F11... That's Full Size....
08-30-2004, 10:10 PM
Sorry for the misunderstanding. :rolleyes:
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.