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 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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 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: 60048

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:

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