jQuery in Action, 2nd edition*
The moose likes HTML, CSS and JavaScript and the fly likes Is it possible to fade in a new 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 "Is it possible to fade in a new window?" Watch "Is it possible to fade in a new window?" New topic

Is it possible to fade in a new window?

Fritz Largosa
Ranch Hand

Joined: Sep 12, 2005
Posts: 70
I have a link which opens up a new window via window.open(www.123.com). I want the new window to fade in instead of just instantly poping into view. If this is possible please let me know, any links and code samples are welcome. Thanks.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60732

Are you talking about the "chrome" (window caption and border) or the window content?

If the latter, you can use a timer and play around with a floating div that covers the entire page. Change the opacity of the div from solid to transparent in stages. Be aware that the CSS opacity rules are currently browser-dependent as IE does not support the W3C opacity settings.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
IE has transition filters: http://www.permadi.com/tutorial/iePageTransition/

I agree. Here's the link: http://aspose.com/file-tools
subject: Is it possible to fade in a new window?
Similar Threads
check if the window is new or old ?
Jsp and servlet
WA #2 ..... word association
About fading text in regular System.out.println form