作法:JavaScript淡入淡出文字 [英] How to: javascript fade in fade out text

查看:110
本文介绍了作法:JavaScript淡入淡出文字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先:我浏览了关于stackoverflow的其他文章,但没有一篇我想要的信息.

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 ;)

我想在我的网站上添加一个div,该div可以淡入和淡出文本.我已经在一些网站上看到了这一点,并且很确定它是使用jQuery库的javaScript.

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?

推荐答案

在这里,您可以:)

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.

这篇关于作法:JavaScript淡入淡出文字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆