开发者

How to fade images using javascript?

开发者 https://www.devze.com 2022-12-14 04:12 出处:网络
Need a webpage which displays 开发者_StackOverflowan image for x number of seconds and then fades into another image which also contains a clickable link.

Need a webpage which displays 开发者_StackOverflowan image for x number of seconds and then fades into another image which also contains a clickable link.

How do I achieve this with javascript? I know this can be done in Flash but it needs to be iPhone compatible.


Checkout the jQuery Cycle Plugin for a Master's Class on manipulating images with JS for galleries and such. Well written, well documented.

Many other good ones out there. Luke, Use the Source! and learn.


The best way I know is to use a library like jQuery. From what I understand iPhone supports jQuery.

0

精彩评论

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