This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 56187
    
  13

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.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Eric Pascarello
author
Rancher

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

Eric
 
jQuery in Action, 2nd edition
 
subject: Is it possible to fade in a new window?
 
Similar Threads
About fading text in regular System.out.println form
Jsp and servlet
JSP:FORWARD
WA #2 ..... word association
check if the window is new or old ?