This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Resizing pop up window " Watch "Resizing pop up window " New topic
Author

Resizing pop up window

Arya Devan
Greenhorn

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.


Arya.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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.

Eric
 
wood burning stoves
 
subject: Resizing pop up window
 
Similar Threads
how many remaining?
WA #1.....word association
dynamic DIV tag
Can you Suggest me
Opening HTTPS link in same popup