How to: javascript fade in fade out text

六眼飞鱼酱① 提交于 2019-12-07 04:59:07

问题


First of all: I looked through other posts on stackoverflow and none of them had the information I was looking for.

Second: I'm new to programming ;)

I want to have a div on my website that fades in and fades out text. I've seen this on a few web sites and am pretty sure it is javaScript using the jQuery library.

Does anyone know of a good tutorial, or can tell me how to accomplish this?


回答1:


Here you go :)

http://api.jquery.com/category/effects/

Click on the effects you want, there are demos you can click around and copy the code from.

Another good one is Scriptaculous. There are bunch of demos there too.




回答2:


i just gave an answer on another question:

Using CSS for fade-in effect on page load

does this answer your question?



来源:https://stackoverflow.com/questions/4869836/how-to-javascript-fade-in-fade-out-text

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!