How to: javascript fade in fade out text

2019-04-28 12:19发布

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?

2条回答
2楼-- · 2019-04-28 12:27

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.

查看更多
狗以群分
3楼-- · 2019-04-28 12:40

i just gave an answer on another question:

Using CSS for fade-in effect on page load

does this answer your question?

查看更多
登录 后发表回答