Weird Thoughts From Eric's Head

Tags - Categories : All | AJAX | BUSINESS | PERSONAL | PROGRAMMING | BOOK REVIEW

Easy Password
A six-year-old girl sneaked up behind her father. Then she turned and ran into the kitchen, squealing to the rest of the family, "I know Daddy's password! I know Daddy's password!"

"What is it? her sisters asked eagerly.

Proudly she replied, "star, star, star, star, star, star!"

Minimum Size For PopUp window
I have seen people ask this question a couple of times within the past couple of weeks. A pop up window does have a minimum size, the reason for this is to keep people from opening up windows that are too small to use.

The smallest size that you can make a pop up window is about 100 pixels by 100 pixels. It may differ from browser to browser.

The same size restriction applies to window.resizeTo(100,100)

Eric Pascarello
Moderator of HTML/JavaScript at www.JavaRanch.com
Author of: JavaScript: Your Visual Blueprint for Dynamic Web Pages


Hi, Is it possible to define the window size so that it will always be the same regardless of how it has been linked? For example, can you make a panorama picture popup window that will always open the same size, regardless of what kind of page it has been linked to?
Yes you can I explain it here on my site:HERE

Hope that helps.
Eric Pascarello
Isn't such a restriction a bit draconian? I have a popup that needs to be about 250 by 40. I really does not need to be any bigger than that because of its function as a popup on my web application. I know you have nothing to do with setting this limitation, but I aphor limitations. If you create a popup window that is "too small", so what? I know it might finds its way into "evil" uses but doesn't everything.
Then use a layer with an iframe and avoid a pop up. Back years ago, you could open a pop up window off of the screen without all of the chrome and make it small. It was a pain as a user to try to get rid of these things. Since people abused them, you have restrictions. Eric


Add a comment

Title
Body
HTML : b, i, blockquote, br, p, pre, a href="", ul, ol, li
Math Quiz 1 + 4 = (Helps stop blog spam)
Name
E-mail address
Website
Remember me Yes  No 

E-mail addresses are not publicly displayed, so please only leave your e-mail address if you would like to be notified when new comments are added to this blog entry (you can opt-out later).

TrackBack to http://radio.javaranch.com/pascarello/addTrackBack.action?entry=1109254810960