-
Notifications
You must be signed in to change notification settings - Fork 24
/
index.html
746 lines (746 loc) · 32.5 KB
/
index.html
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
<!DOCTYPE html>
<html>
<head>
<title>蓝色古龙(杨一中)与皈依(张鹤)的婚礼</title>
<meta charset="UTF-8">
<!-- 拉宽到真实宽度 -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<!-- 采用H5 css动画组件: https://daneden.github.io/animate.css/ (可在此处了解各种动画效果)-->
<link rel="stylesheet" href="css/animate.min.css">
<style>
*{
font-family: 微软雅黑;
}
HTML {margin:0;padding:0;height:100%;overflow:auto;
scrollbar-3dlight-color:#718da6;scrollbar-arrow-color:#000;scrollbar-base-color:#718da6;
scrollbar-darkshadow-color:#fff;scrollbar-face-color:#f2f7fc;scrollbar-highlight-color:#fbfdfc;
scrollbar-shadow-color:#718da6;}
BODY {
margin:0;padding:0;margin:auto;overflow:auto;color:#000;
background:#fff;font-family:Verdana, Arial;
display:flex;/*Flex布局*/ display: -webkit-flex; /* Safari */ align-items:center;/* 垂直居中 */
/* 水平居中 子项需要设置 margin: auto*/
text-align: center;
width: 100%;height: 100%;
position: relative;
}
SELECT {font-family:微软雅黑;font-size:.4rem;}
IMG { border:none; }
/* 让music开关旋转起来 start*/
.rotate{
-webkit-animation: rotate 3s linear infinite;
-moz-animation: rotate 3s linear infinite;
-o-animation: rotate 3s linear infinite;
animation: rotate 3s linear infinite;}
@-webkit-keyframes rotate{from{-webkit-transform: rotate(0deg)}
to{-webkit-transform: rotate(360deg)}
}
@-moz-keyframes rotate{from{-moz-transform: rotate(0deg)}
to{-moz-transform: rotate(359deg)}
}
@-o-keyframes rotate{from{-o-transform: rotate(0deg)}
to{-o-transform: rotate(359deg)}
}
@keyframes rotate{from{transform: rotate(0deg)}
to{transform: rotate(359deg)}
}
/* 让music开关旋转起来 end*/
/* 通用的深色主(第一)背景 */
#bg{
width: 100%;height: 100%;
position: absolute;
margin: auto;
padding: 0;
text-align: center;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-image:url(images/bgbg.jpg);
}
/* 通用的红色主(第二)背景 */
#bg-1{
list-style: none;
text-decoration: none;
margin: 0;
padding: 0;
position: absolute;
height:94%;
width:90%;
top: 3%;
left: 5%;
background-image:url(images/bg.jpg);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
display: none;
}
/* 场景顶层样式,relative属性值让内部的div层都基于此层进行absolute位置设定 */
.page{
width: 100%;
height: 100%;
position: relative;
margin: auto;
padding: 0;
text-align: center;
background-position: center center;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
overflow:hidden;
}
/* 以iphone SE 作为适配屏幕,固定显示区域 宽度<=320px 的背景和主显示区域都要固定到320,支持滚动显示*/
@media screen and (max-width:320px) {
BODY,.page{
width: 320px;
}
}
/* 以iphone SE 作为适配屏幕,固定显示区域 高度<=568px 的背景和主显示区域都要固定到320,支持滚动显示*/
@media screen and (max-height:568px) {
BODY,.page{
height: 568px;
}
}
/* 以iphone SE 作为适配屏幕,固定显示区域 宽度>=320px 的主背景依旧全屏,固定动画显示区域*/
@media screen and (min-width:320px) {
.page{
width: 320px;
}
}
/* 以iphone SE 作为适配屏幕,固定显示区域 宽度>=568px 的主背景依旧全屏,固定动画显示区域*/
@media screen and (min-height:568px) {
.page{
height: 568px;
}
}
/* 动画列表顶层,relative属性值让内部的div层都基于此层进行absolute位置设定 */
ul{
/* 去掉列表前的点 */
list-style: none;
text-decoration: none;
margin: 0;
padding: 0;
position: relative;
height:94%;
width:90%;
top: 3%;
left: 5%;
}
/* 每个动画都用一个独立的li,方便设置动画的显隐 */
li {
position: absolute;
display: none;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
height:100%;
width:100%;
}
/* 自定义箭头标签*/
arrow {
position: absolute;z-index:10;bottom: 2rem;left: 8rem;
}
</style>
</head>
<body class="body0">
<div id="music" style="position: fixed;z-index: 10;right: 1rem;top: 1rem;">
<img id="musicOn" src="images/onMusic.png" style="display: block;" class="rotate"/>
<img id="musicOff" src="images/offMusic.png" style="display: none;"/>
<audio id="myaudio" loop="loop" preload="auto" autoplay="autoplay" src="music/mymusic.mp3">
<source src="music/mymusic.mp3" type="audio/ogg" />
<source src="music/mymusic.mp3" type="audio/mp3" />
</audio>
</div>
<div id="bg">
<div id="bg-1"></div>
</div>
<div id="dcommon" class="page" style="display: none;position:absolute;left:50%;margin-left:-160px;">
<ul>
<li id="dcommon-1" >
<div style="width:1.0rem;height:100%;position:absolute;background-image:url(images/kuang2.jpg);"></div>
<div style="width:1.0rem;height:100%;right:0;position:absolute;background-image:url(images/kuang2.jpg);"></div>
<div style="height:1.0rem;width:100%;position:absolute;background-image:url(images/kuangTop.jpg);"></div>
<div style="height:1.0rem;width:100%;bottom:0;position:absolute;background-image:url(images/kuangTop.jpg);"></div>
</li>
</ul>
<arrow id="dcommon-arrow">
<img id="arrowOn" src="images/arrow.png"/>
</arrow>
</div>
<div id="d1" class="page" style="display: none;">
<ul>
<li id="d1-2" style="background-size:90%;background-image:url(images/kuang.jpg);">
</li>
<li id="d1-3" style="background-size:60%;left:-7%;background-image:url(images/bigXi.jpg);">
</li>
<li id="d1-4" style="background-size:4rem;bottom: 2rem;right: 1.5rem;background-image:url(images/cloud.jpg);background-position:100% 100%;">
</li>
<li id="d1-5" style="background-size:4rem;top: 10.4rem;left: 1.5rem;background-image:url(images/cloud.jpg);background-position:0 0;">
</li>
<li id="d1-6" style="background-size:32%;bottom: 1rem;left: 1rem;background-image:url(images/boy3.jpg);background-position:0 100%;">
</li>
<li id="d1-7" style="background-size:30%;top: 2.6rem;right: 1rem;background-image:url(images/bigGirl.jpg);background-position:100% 0">
</li>
<li id="d1-8" style="background-size:32%;top:1.0rem;left:1.0rem;background-image:url(images/san.jpg);background-position:0 0;">
</li>
<li id="d1-9" style="background-size:7.2rem;bottom: 5rem;background-image:url(images/xi.jpg);background-position:center 100%;">
</li>
<li id="d1-10" style="bottom:3rem;left:0rem;">
<!-- display:flex;display: -webkit-flex;align-items:baseline; 垂直居中-->
<!-- 包一层的目的是方便子层的元素方便绝对定位-->
<div style="width: 100%;height: 100%;position: relative;">
<div style="width:100%;text-align:center;position: absolute;bottom:0;
word-wrap:break-word;color: rgb(255, 255, 255);font-size: 0.8rem">
杨 一 中 & 张 鹤
</div>
</div>
</li>
<li id="d1-11" style="bottom:2rem;left:0rem;">
<div style="width: 100%;height: 100%;position: relative;">
<div style="width:100%;text-align:center;position: absolute;bottom:0;
word-wrap:break-word;color: rgb(255, 255, 255);font-size: 0.6rem">
2018.05.26
</div>
</div>
</li>
</ul>
</div>
<div id="d2" class="page" style="display: none;">
<ul>
<li id="d2-2" style="background-size:80%;top:1rem;background-image:url(images/header.jpg);background-position: center 0;">
<div style="width: 100%;height: 100%;position: relative;">
<div style="width:100%;text-align:center;position: absolute;top:1.6rem;
word-wrap:break-word;color: rgb(255, 255, 255);font-size: 1rem">
诚挚邀请
</div>
</div>
</li>
<li id="d2-3" style="background-size:14%;bottom: 1rem;left: 1rem;background-image:url(images/boy3.jpg);background-position:0 100%;">
</li>
<li id="d2-4" style="background-size:14%;bottom: 1rem;right: 1rem;background-image:url(images/girl3.jpg);background-position:100% 100%;">
</li>
<li id="d2-5" style="background-size:100%;top: 3.2rem;background-image:url(images/toper.jpg);background-position:center 0;">
</li>
<li id="d2-6" style="top: 3.2rem;">
<div style="width: 100%;height: 100%;position: relative;">
<div style="width:100%;text-align:center;position: absolute;top:4.2rem;
word-wrap:break-word;color: rgb(255, 255, 255);font-size: 0.8rem;line-height: 1.2;">
<p>最美好的季节</p>
<p>我们找到彼此的幸福</p>
<p>我们将幸福无限延伸</p>
<p>诚邀亲爱的你</p>
<p>参与我们的婚礼</p>
<p>共同见证这幸福的时刻</p>
<p>------------------</p>
<p>2018.05.26 11:28</p>
<p>湖南·新化</p>
<p>海天大酒店</p>
</div>
</div>
</li>
</ul>
</div>
<div id="d3" class="page" style="display: none;">
<ul>
<li id="d3-2" style="background-size:20%;top:2rem;right:2rem;background-image:url(images/righer2.jpg);background-position: right 0;">
</li>
<li id="d3-3" style="top:2rem;right:2rem;">
<div style="width: 100%;height: 100%;position: relative;">
<div style="width:1.2rem;text-align:right;position: absolute;top:3rem;right: 1.2rem;
word-wrap:break-word;color: rgb(255, 255, 255);font-size: 1.2rem">
新郎 杨一中
</div>
</div>
</li>
<li id="d3-4" style="background-size:63%;top:5.5rem;left:1rem;background-image:url(images2/a25.png);background-position:left top;">
</li>
<li id="d3-5" style="background-size:38%;bottom:3rem;left:1rem;background-image:url(images/boy2.jpg);background-position:left bottom;">
</li>
<li id="d3-6" style="bottom:5rem;left:2.8rem;">
<div style="width: 100%;height: 100%;position: relative;">
<div style="width:100%;text-align:center;position: absolute;bottom:0;
word-wrap:break-word;color: rgb(255, 255, 255);font-size: 0.8rem">
<p>感谢大家对我祝福</p>
<p>愿我此刻的幸福能传递给你</p>
</div>
</div>
</li>
</ul>
</div>
<div id="d4" class="page" style="display: none;">
<ul>
<li id="d4-2" style="background-size:20%;top:2rem;left:2rem;background-image:url(images/righer2.jpg);background-position: left 0;">
</li>
<li id="d4-3" style="top:2rem;left:2rem;">
<div style="width: 100%;height: 100%;position: relative;">
<div style="width:1.2rem;text-align:right;position: absolute;top:3rem;left: 1.2rem;
word-wrap:break-word;color: rgb(255, 255, 255);font-size: 1.2rem">
新娘 张 鹤
</div>
</div>
</li>
<li id="d4-4" style="background-size:63%;top:4.5rem;right:1.2rem;background-image:url(images2/a23.png);background-position:right top;">
</li>
<li id="d4-5" style="background-size:38%;bottom:3rem;right:1rem;background-image:url(images/bigGirl.jpg);background-position:right bottom;">
</li>
<li id="d4-6" style="bottom:5rem;right:2.8rem;">
<div style="width: 100%;height: 100%;position: relative;">
<div style="width:100%;text-align:center;position: absolute;bottom:0;
word-wrap:break-word;color: rgb(255, 255, 255);font-size: 0.8rem">
<p>感谢大家对我祝福</p>
<p>愿我此刻的幸福能传递给你</p>
</div>
</div>
</li>
</ul>
</div>
<div id="d5" class="page" style="display: none;">
<ul>
<li id="d5-2" style="background-size:89%;top:1rem;background-image:url(images2/a28.png);background-position:center top;">
</li>
<li id="d5-3" style="bottom:3rem;">
<div style="width: 100%;height: 100%;position: relative;">
<div style="width:100%;text-align:center;position: absolute;bottom:0;
word-wrap:break-word;color: rgb(255, 255, 255);font-size: 0.8rem">
<p>往后的人生</p>
<p>我们携手前行,不离不弃!</p>
</div>
</div>
</li>
</ul>
</div>
<div id="d6" class="page" style="display: none;">
<ul>
<li id="d6-2" style="background-size:89%;top:1rem;background-image:url(images2/b46.png);background-position:center top;">
</li>
<li id="d6-3" >
<div style="width: 100%;height: 100%;display:flex;display:-webkit-flex;align-items:baseline;">
<div style="width:100%;text-align:center;margin: auto;
word-wrap:break-word;color: rgb(255, 255, 255);font-size: 0.8rem">
<p>春·暖的花开带走冬天的感伤</p>
<p>微风吹来浪漫的气息</p>
</div>
</div>
</li>
<li id="d6-4" style="background-size:89%;bottom:1rem;background-image:url(images2/b49.png);background-position:center bottom;">
</li>
</ul>
</div>
<div id="d7" class="page" style="display: none;">
<ul>
<li id="d7-3" >
<div style="width: 100%;height: 100%;position: relative;">
<div style="width:100%;text-align:center;position: absolute;top:3rem;
word-wrap:break-word;color: rgb(255, 255, 255);font-size: 0.8rem">
<p>夏·鸟儿的高歌拉近我们距离</p>
<p>我就在此刻突然爱上你</p>
</div>
</div>
</li>
<li id="d7-4" style="background-size:89%;bottom:1rem;background-image:url(images2/d45.png);background-position:center bottom;">
</li>
</ul>
</div>
<div id="d8" class="page" style="display: none;">
<ul>
<li id="d8-2" style="">
<div style="width: 100%;height: 100%;display:flex;display:-webkit-flex;align-items:baseline;">
<div style="width:100%;text-align:center;margin: auto;
word-wrap:break-word;color:#fff;font-size: 0.8rem">
<p>秋·听我说</p>
<p>手牵手 跟我一起走</p>
<p>创造幸福的生活</p>
</div>
</div>
</li>
<li id="d8-3" style="background-size:89%;top:1rem;background-image:url(images2/c21.png);background-position:center top;">
</li>
<li id="d8-4" style="background-size:89%;background-image:url(images2/c12.png);background-position:center center;">
</li>
<li id="d8-5" style="background-size:89%;bottom:1rem;background-image:url(images2/c29.png);background-position:center bottom;">
</li>
</ul>
</div>
<div id="d9" class="page" style="display: none;">
<ul>
<li id="d9-2" style="background-size:89%;top:1rem;background-image:url(images2/a46.png);background-position:center top;">
</li>
<li id="d9-3" >
<div style="width: 100%;height: 100%;display:flex;display:-webkit-flex;align-items:baseline;">
<div style="width:100%;text-align:center;margin: auto;
word-wrap:break-word;color: rgb(255, 255, 255);font-size: 0.8rem">
<p>冬·今天嫁给我好吗</p>
</div>
</div>
</li>
<li id="d9-4" style="background-size:89%;bottom:1rem;background-image:url(images2/a7-16.png);background-position:center bottom;">
</li>
</ul>
</div>
<div id="d10" class="page" style="display: none;">
<ul>
<li id="d10-2" style="background-size:80%;top:1rem;background-image:url(images/header.jpg);background-position: center 0;">
<div style="width: 100%;height: 100%;position: relative;">
<div style="width:100%;text-align:center;position: absolute;top:1.6rem;
word-wrap:break-word;color: rgb(255, 255, 255);font-size: 1rem">
联系我们
</div>
</div>
</li>
<li id="d10-3" style="background-size:14%;bottom: 1rem;left: 1rem;background-image:url(images/boy3.jpg);background-position:0 100%;">
</li>
<li id="d10-4" style="background-size:14%;bottom: 1rem;right: 1rem;background-image:url(images/girl3.jpg);background-position:100% 100%;">
</li>
<li id="d10-5" style="top: 6rem;">
<!-- 谷歌和安卓都能正常显示 -->
<iframe id="ifram" width='240' height='280' frameborder='0' scrolling='no' marginheight='0' marginwidth='0'src='https://lbs.amap.com/console/show/map/?0_300_400_111.3056_27.735139&=海天大酒店&=海天宾馆&=&=&='></iframe>
</li>
<li id="d10-6" style="top: 23rem;">
<div style="width: 100%;height: 100%;position: relative;">
<div style="width:100%;text-align:center;position: absolute;top:4.2rem;
word-wrap:break-word;color: rgb(255, 255, 255);font-size: 0.8rem;line-height: 1.2;">
<p>Tel + 微信(新郎):13266515752</p>
<p>Tel + 微信(新娘):18312566721</p>
</div>
</div>
</li>
</ul>
</div>
</body>
<script src="js/jquery-1.10.2.min.js"></script>
<script>
function initDoc()
{
var audio = document.getElementById('myaudio');
$.ajax({
url: 'js/jquery-1.10.2.min.js',
async: false,
success: function() {
audio.play(); // audio will play in iOS before 4.2.1
}
});
// audio will play in iOS after 4.2.1
document.addEventListener('touchstart', function(){
audio.play();
}, false);
// controll music swtich
$("#music").bind('click', function() {
if ($("#musicOn").is(":hidden"))
{
$("#musicOn").show();
$("#musicOff").hide();
audio.play();
}
else
{
$("#musicOff").show();
$("#musicOn").hide();
audio.pause();
}
});
//显示翻页箭头
arrow0();
// touchstart
$("arrow").bind('click', function() {
isHand = true;
nextPage();
});
}
//翻页提示箭头
function arrow0(){
$('#dcommon-arrow').show();
//循环动画
anim($('#dcommon-arrow'), 'fadeOutUp', arrow0);
}
//隐藏某个编号层及其下的li
function hideIndex(index)
{
$("#d" + index).hide();
$("#d" + index).find("li").hide();
}
function hideBg(){
$('#bg-1').hide();
$('#dcommon').hide();
}
function showBg(nextShow){
//显示红色背景
$('#bg-1').show();
//展示红色动画效果后再展示公共元素,最后展示场景动画
anim($('#bg-1'), 'zoomIn', showCommon, nextShow);
}
function showCommon(nextShow)
{
$('#dcommon').show();
//显示公共动画 飞框
$('#dcommon-1').show();
anim($('#dcommon-1'), 'fadeInLeft', nextShow);
}
//翻页全局变量
var nowEl = null;
function nextPage(nowDiv){
//支持初始化
if (null != nowDiv)
{
nowEl = nowDiv;
}
var nowId = nowEl.attr("id");
var pageIndex = parseInt(nowId.replace("d", ""));
var nextEl = nowEl.next();
//若到了最后一个div,则下一个div从d1开始
if (null == nextEl || null == nextEl.attr("id"))
{
nextEl = $("#d1");
}
var nextId = nextEl.attr("id");
var pageIndexNext = parseInt(nextId.replace("d", ""));
//隐藏当前场景及其子动画元素
hideIndex(pageIndex);
hideIndex(pageIndexNext);
//隐藏背景及公共元素
hideBg();
//显示下一个场景
nextEl.show();
//显示背景,当背景动画完全执行完毕后显示场景动画
showBg("show" + pageIndexNext);
nowEl = nextEl;
}
window.onload = function() {
//等jquery完全加载后才执行
$(function(){
initDoc();
nextPage($("#d10"));
});
};
//动画公共类
function anim(el, x, nextAction, nextActionParam) {
el.removeClass().addClass(x + ' animated').one('webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend', function(){
$(this).removeClass();
//执行完当前动作后如果有下一个动作就继续执行下一个动作 动态函数执行方式
if(null != nextAction){
//console.log(nextAction);
//console.log("nextActionParam:" + nextActionParam);
if (typeof(nextAction) == "function")
{
if (null != nextActionParam)
{
nextAction(nextActionParam);
}
else
{
nextAction();
}
}
else if (typeof(eval(nextAction)) == "function")
{
if (null != nextActionParam)
{
eval(nextAction + "(" + nextActionParam + ");");
}
else
{
eval(nextAction + "();");
}
}
}
});
};
var isHand = false;
function autoNextPage(delayTime){
//规避多页同时显示的问题:手动点击一次之后不再自动往下走
if(!isHand)
{
setTimeout(function(){
if (!isHand)
{
nextPage();
}
}, delayTime);
}
}
//第一页动画 动画命名规则:show + 当前div的 id 编号
function show1()
{
$('#d1-2').show();
anim($('#d1-2'), 'flipInY', show1_2);
}
function show1_2()
{
$('#d1-3').show();
anim($('#d1-3'), 'flipInY',show1_3);
}
function show1_3()
{
$('#d1-4').show();
anim($('#d1-4'), 'slideInLeft');
$('#d1-5').show();
anim($('#d1-5'), 'slideInLeft',show1_4); ;
}
function show1_4()
{
$('#d1-6').show();
anim($('#d1-6'), 'slideInLeft');
$('#d1-7').show();
anim($('#d1-7'), 'slideInRight',show1_5);
}
function show1_5()
{
$('#d1-8').show();
anim($('#d1-8'), 'slideInLeft', show1_6);
}
function show1_6()
{
$('#d1-9').show();
anim($('#d1-9'), 'zoomIn', show1_7);
}
function show1_7()
{
$('#d1-10').show();
anim($('#d1-10'), 'zoomIn');
$('#d1-11').show();
anim($('#d1-11'), 'zoomIn', autoNextPage, 3000);
}
//第二页动画
function show2(){
$('#d2-2').show();
anim($('#d2-2'), 'fadeInDown', show2_3);
}
function show2_3(){
$('#d2-3').show();
anim($('#d2-3'), 'fadeInRight');
$('#d2-4').show();
anim($('#d2-4'), 'fadeInLeft', show2_4);
}
function show2_4(){
$('#d2-5').show();
anim($('#d2-5'), 'flipInY', show2_5);
}
function show2_5(){
$('#d2-6').show();
anim($('#d2-6'), 'bounce', autoNextPage, 6000);
}
//第三页动画
function show3(){
$('#d3-2').show();
anim($('#d3-2'), 'flipInY', show3_3);
}
function show3_3(){
$('#d3-3').show();
anim($('#d3-3'), 'bounce', show3_4);
}
function show3_4(){
$('#d3-4').show();
anim($('#d3-4'), 'flipInX', show3_5);
}
function show3_5(){
$('#d3-5').show();
anim($('#d3-5'), 'fadeInLeft', show3_6);
}
function show3_6(){
$('#d3-6').show();
anim($('#d3-6'), 'fadeInRight', autoNextPage, 3000);
}
//第四页动画
function show4(){
$('#d4-2').show();
anim($('#d4-2'), 'flipInY', show4_3);
}
function show4_3(){
$('#d4-3').show();
anim($('#d4-3'), 'bounce', show4_4);
}
function show4_4(){
$('#d4-4').show();
anim($('#d4-4'), 'flipInX', show4_5);
}
function show4_5(){
$('#d4-5').show();
anim($('#d4-5'), 'fadeInRight', show4_6);
}
function show4_6(){
$('#d4-6').show();
anim($('#d4-6'), 'fadeInLeft', autoNextPage, 3000);
}
//第五页动画
function show5(){
$('#d5-2').show();
anim($('#d5-2'), 'fadeInDown', show5_3);
}
function show5_3(){
$('#d5-3').show();
anim($('#d5-3'), 'bounce', autoNextPage, 3000);
}
//第六页动画
function show6(){
$('#d6-2').show();
anim($('#d6-2'), 'fadeInDown', show6_3);
}
function show6_3(){
$('#d6-4').show();
anim($('#d6-4'), 'fadeInUp', show6_4);
}
function show6_4(){
$('#d6-3').show();
anim($('#d6-3'), 'swing', autoNextPage, 3000);
}
//第七页动画
function show7(){
$('#d7-3').show();
anim($('#d7-3'), 'slideInDown', show7_3);
}
function show7_3(){
$('#d7-4').show();
anim($('#d7-4'), 'fadeInUp', autoNextPage, 3000);
}
//第八页动画
function show8(){
$('#d8-2').show();
anim($('#d8-2'), 'slideInDown', delay3);
}
function delay3()
{
setTimeout(function(){ show8_3(); }, 2000)
}
function show8_3(){
$('#d8-3').show();
anim($('#d8-3'), 'slideInLeft');
$('#d8-5').show();
anim($('#d8-5'), 'slideInRight', show8_4);
}
function show8_4(){
$('#d8-4').show();
anim($('#d8-4'), 'zoomIn', autoNextPage, 3000);
}
//第九页动画
function show9(){
$('#d9-2').show();
anim($('#d9-2'), 'rubberBand', show9_3);
}
function show9_3(){
$('#d9-4').show();
anim($('#d9-4'), 'lightSpeedIn', show9_4);
}
function show9_4(){
$('#d9-3').show();
anim($('#d9-3'), 'swing', autoNextPage, 3000);
}
//第十页动画
function show10(){
$('#d10-2').show();
anim($('#d10-2'), 'fadeInDown', show10_3);
}
function show10_3(){
$('#d10-3').show();
anim($('#d10-3'), 'fadeInRight');
$('#d10-4').show();
anim($('#d10-4'), 'fadeInLeft', show10_4);
}
function show10_4(){
$('#d10-5').show();
anim($('#d10-5'), 'flipInY', show10_5);
}
function show10_5(){
$('#d10-6').show();
anim($('#d10-6'), 'bounce');
}
</script>
</html>