This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
Author

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
Marshal

Joined: Jan 10, 2002
Posts: 60804
    
  65

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
author
Rancher

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

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