forked from pandoraui/jquery-chm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdelay.html
More file actions
51 lines (50 loc) · 2.21 KB
/
delay.html
File metadata and controls
51 lines (50 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>delay(duration,[queueName]) | jQuery API 中文手册</title>
<meta name="author" content="jQuery 中文手册 - hemin.cn/jq/">
<meta name="description" content="jQuery中文手册(在线版),作者:hemin,在线手册:hemin.cn/jq/,下载:hemin.cn/jq/downloads/">
<link type="text/css" rel="stylesheet" href="style/style.css" tppabs="http://hemin.cn/jq/style/style.css" />
<script type="text/javascript" src="js/jquery.min.js" tppabs="http://hemin.cn/jq/js/jquery.min.js"></script>
<script type="text/javascript" src="js/js.js" tppabs="http://hemin.cn/jq/js/js.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-15318881-10', 'pandoraui.github.io');
ga('send', 'pageview');
</script>
</head>
<body id="split">
<div id="content" class="a2">
<div rel="delay">
<h2><span>返回值:jQuery</span>delay(duration,<em class="optional">[queueName]</em>)</h2>
<h3>概述</h3>
<div class="desc">
<p>设置一个延时来推迟执行队列中之后的项目。</p>
<div class="longdesc">
<p>jQuery 1.4新增。用于将队列中的函数延时执行。他既可以推迟动画队列的执行,也可以用于自定义队列。</p>
</div>
</div>
<h3>参数</h3>
<div class="parameter">
<h4><strong>duration,[queueName]</strong><span>Integer,String</span><em>V1.4</em></h4>
<p><strong>duration</strong>:延时时间,单位:毫秒</p>
<p><strong>queueName</strong>:队列名词,默认是Fx,动画队列。</p>
</div>
<div class="example">
<h3>示例</h3>
<span id="f_ad2"></span>
<h4>描述:</h4>
<p>在.slideUp() 和 .fadeIn()之间延时800毫秒。</p>
<h5>HTML 代码:</h5>
<pre><code><div id="foo /"></code></pre>
<h5>jQuery 代码:</h5>
<pre><code>$('#foo').slideUp(300).delay(800).fadeIn(400);</code></pre>
</div>
</div>
</div>
</body>
</html>