File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Resizing pop up window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Resizing pop up window " Watch "Resizing pop up window " New topic

Resizing pop up window

Arya Devan

Joined: Feb 07, 2006
Posts: 28
If there is any javascript error on the web browser, they display it using a small popup in which there is a 'hide details' and 'show details' tab. If i click on that the window gets resized along with the details. How is is achieved ?

Thanks in advance.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
That is a windowed element that you have no control over. If you want to change a size of a normal pop up window, you got window.resize(), but browsers now a days have an option to block windoww.resize. Best to just use layers (divs) withs display = "none" and display="block" which will show and hide them.

I agree. Here's the link:
subject: Resizing pop up window
It's not a secret anymore!