开发者

Sliding and fading effects

How do I come up with this, the sidebar and the top sliding bit:

Apple iPad Page

Scriptaculous or jQuery, etc.

I'd like this for one of my pages on my website to do th开发者_如何学运维e effects on load.

Thanks :)


On the Apple website it is done using Scriptaculous with the "slide" and "fade" effects. They also use the prorietary "-webkit-transition-delay" CSS command to delay the slide effect on the side navigation items. But as it is a webkit only CSS property, the effect is diffrent to browsers like Firefox.

A simple effect like in the top navigation you can get by using the function Effect.SlideUp().

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜