• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is it possible to fade in a new window?

 
Fritz Largosa
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65124
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IE has transition filters: http://www.permadi.com/tutorial/iePageTransition/

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic