Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fade out on exit of a webpage 1

Status
Not open for further replies.

hallm

Programmer
Jun 11, 2000
159
US
I've seen some sites that fade out when you exit their webpages without using flash.&nbsp;&nbsp;How is this done?&nbsp;&nbsp;I have a customer that wants to use the fade out effect or another is where the page fades into a circle effect.&nbsp;&nbsp;An example that was given to me was a page <A HREF=" TARGET="_new"> go into one of their subpages and return to the homepage.&nbsp;&nbsp;I know it isn't the most advanced pages out their but my customer wants the fade effect, and the customer is always right.
 
The key is in this line:<br><br><FONT FACE=monospace>&lt;meta http-equiv=&quot;Page-Exit&quot; content=&quot;revealTrans(Duration=2.0,Transition=2)&quot;&gt;</font><br><br>I'm not sure where <FONT FACE=monospace>revealTrans()</font> comes from, but I copied just that line to one of the pages on my website and it worked. It might be a server thing, it might be a browser thing- I'm not sure. If that works for you, I'd play around with different values for &quot;Transition&quot;. With the playing around that I did, here's what I got:<br><br>Transition = 1 : opening box.<br>Transition = 2 : opening circle (as shown).<br>Transition = 3 : opening box.<br>Transition = 4 : opening circle.<br>Transition = 5 : horizontal line going up.<br>Transition = 6 : horizontal line going down.<br>Transition = 7 : horizontal line going down.<br>Transition = 8 : horizontal line going down.<br><br>That's what it seemed like on my computer... There might be a different function or argument for fading, etc. If you find a webpage that has fading, please let me know, I'll take a look. <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence.
 
I might have misprinted the last few... I think one of them was blinds. But check it out :eek:) <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence.
 
Hi,<br>&nbsp;&nbsp;I have a question about transitions. I'm in the middle of designing a new section for my site, and decided to use a transition effect. It works fine (fades from one page into another), but I've just heard that the Netscape browser won't do transitions. Does anyone know anything about this? And, if true, is there some way I can fix the problem? I run IE, which has no problems with this special effect.<br><br>Thanks, Rowana <p>Rowana<br><a href=mailto:earthshk@ovis.net>earthshk@ovis.net</a><br><a href= Wheel</a><br>
 
If you find a webpage where transitions work in NN, I'll try and figure out what code is causing it. <p>Liam Morley<br><a href=mailto:lmorley@wpi.edu>lmorley@wpi.edu</a><br><a href=] :: imotic :: website :: [</a><br>"light the deep, and bring silence to the world.<br>
light the world, and bring depth to the silence.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top