diff --git a/demo/biyadi/index.html b/demo/biyadi/index.html index 2927da8..f0c33c4 100644 --- a/demo/biyadi/index.html +++ b/demo/biyadi/index.html @@ -139,10 +139,8 @@ var imgs = [ './images/page10_s3.jpg', './images/page10_s4.jpg' ]; -function callback () { - render() -} -loadImg(imgs,callback) + +loadImg(imgs,render) function loadImg (imgs,callback) { var imgsLen = imgs.length; diff --git a/demo/biyadi/style/style.css b/demo/biyadi/style/style.css index f85e1b3..857f0cc 100644 --- a/demo/biyadi/style/style.css +++ b/demo/biyadi/style/style.css @@ -1,7 +1,6 @@ body, #wrapper { overflow: hidden; position: relative; - background: #000; } .layer{ @@ -10,7 +9,7 @@ body, #wrapper { left: 0; width: 100%; height: 100%; - background: url('../images/back.png') no-repeat #fff; + background: url('../images/back.png') no-repeat; background-size: 100% 100%; z-index: 101 } @@ -40,6 +39,7 @@ body, #wrapper { #main div { background-position: center; position: relative; + background: #000; } #world, #start, #page2, #page3, #page4, #page5, #page6, #page7, #page8, #page9, #page10 {