|
Posted by Kim Andrι Akerψ on 12/16/05 19:51
ukrbend wrote:
> I came across the website http://www.cyberindian.com/web-designing/
> and noticed it has this great feature of fading the pages as you click
> on the various links. So instead of the typical awkward construction
> of the page slowing appearing, it will gradually fade in as the old
> page fades out. I took a look at the soucre for the page but can't
> understand how they're doing it. One bad point is that it only seems
> to work in IE and not Firefox. But I still would like to try it on my
> site.
>
> Does anyone know this technique? - Thanks
This doesn't happen in Opera either, and further digging on my part
reveals (not surprisingly) that this is a proprietary function by
Microsoft which is only visible in IE.
These are the tags performing this effect, though:
<META http-equiv="Page-Enter" content="blendTrans(Duration=0.3)">
<META http-equiv="Page-Exit" content="blendTrans(Duration=0.3)">
Personally, I recommend against using proprietary functions and
elements as part of your code (meaning it will only work on a narrow
selection of platforms and/or browsers), but here's some more
information about how to use the transition effect:
<http://msdn.microsoft.com/workshop/author/filter/reference/filters/blen
dtrans.asp>
<http://gethelp.devx.com/techtips/web_pro/10min/10min0200/10min0200.asp>
--
Kim AndrΓ© AkerΓΈ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
Navigation:
[Reply to this message]
|