开发者

How to fade images using javascript?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜