-
- <
-
>
+
+
+
+
@@ -60,7 +64,7 @@
-

+

@@ -159,14 +163,21 @@
if(num == 3) {
console.log('成功')
setTimeout(function() {
- $('.game1Index p.bgm img').attr('src', 'img/game1/successBgm.png')
+// $('.game1Index p.bgm img').attr('src', 'img/game1/successBgm.png')
+ $('.game1Index p.bgm img').eq(0).animate({
+ 'opacity':'0'
+ },1000)
+ $('.game1Index p.bgm img').eq(1).animate({
+ 'opacity':'1',
+ 'z-index':'99'
+ },1000)
$('.game1Index .box_wrap').fadeOut();
}, 1500)
setTimeout(function() {
$('.game1Index .book_box').fadeIn()
- $('.game1Index .maskBgm').fadeIn()
- }, 2500)
+ $('.game1Index .maskBgm').fadeIn(1000)
+ }, 3500)
}
}
$('.game1Next').click(function(){
diff --git a/game2.html b/game2.html
index 34abc0e..6eb1c69 100644
--- a/game2.html
+++ b/game2.html
@@ -1,6 +1,9 @@
-

+
+
+
+
@@ -26,9 +29,10 @@
-
- <
-
>
+
+
+
+

@@ -158,14 +162,20 @@
if(num2 == 3) {
console.log('成功')
setTimeout(function() {
- $('.game2Index p.bgm img').attr('src', 'img/game2/successBgm.png')
+ $('.game2Index p.bgm img').eq(0).animate({
+ 'opacity':'0'
+ },1000)
+ $('.game2Index p.bgm img').eq(1).animate({
+ 'opacity':'1',
+ 'z-index':'99'
+ },1000)
$('.game2Index .box_wrap').fadeOut();
}, 1500)
setTimeout(function() {
$('.game2Index .book_box').fadeIn()
- $('.game2Index .maskBgm').fadeIn()
- }, 2500)
+ $('.game2Index .maskBgm').fadeIn(1000)
+ }, 3500)
}
}
$('.game2Above').click(function(){
diff --git a/game3.html b/game3.html
index 21c2975..8f696ee 100644
--- a/game3.html
+++ b/game3.html
@@ -1,6 +1,9 @@
-

+
+
+
+
@@ -26,9 +29,10 @@
-
- <
-
>
+
+
+
+

@@ -157,14 +161,20 @@
if(num3 == 3) {
console.log('成功')
setTimeout(function() {
- $('.game3Index p.bgm img').attr('src', 'img/game3/successBgm.png')
+ $('.game3Index p.bgm img').eq(0).animate({
+ 'opacity':'0'
+ },1000)
+ $('.game3Index p.bgm img').eq(1).animate({
+ 'opacity':'1',
+ 'z-index':'99'
+ },1000)
$('.game3Index .box_wrap').fadeOut();
}, 1500)
setTimeout(function() {
$('.game3Index .book_box').fadeIn()
- $('.game3Index .maskBgm').fadeIn()
- }, 2500)
+ $('.game3Index .maskBgm').fadeIn(1000)
+ }, 3500)
}
}
$('.game3Above').click(function(){
diff --git a/game4.html b/game4.html
index 7884b51..ca45339 100644
--- a/game4.html
+++ b/game4.html
@@ -1,6 +1,9 @@
-

+
+
+
+
@@ -172,13 +175,19 @@
if(num4 == 3) {
console.log('成功')
setTimeout(function() {
- $('.game4Index p.bgm img').attr('src', 'img/game4/successBgm.png')
+ $('.game4Index p.bgm img').eq(0).animate({
+ 'opacity':'0'
+ },1000)
+ $('.game4Index p.bgm img').eq(1).animate({
+ 'opacity':'1',
+ 'z-index':'99'
+ },1000)
$('.game4Index .box_wrap').fadeOut();
}, 1500)
setTimeout(function() {
$('.game4Index .book_box').fadeIn()
- $('.game4Index .maskBgm').fadeIn()
+ $('.game4Index .maskBgm').fadeIn(1000)
video4.play()
}, 3500)
}
diff --git a/game5.html b/game5.html
index 03d3ce9..8b782ae 100644
--- a/game5.html
+++ b/game5.html
@@ -1,6 +1,9 @@
-

+
+
+
+
@@ -59,8 +62,8 @@
\ No newline at end of file