《爱情是个鸟(DJ版)》- 顾婧平
<div class="cont-area"><div class="d cl" id="blog_article">
<div style="border-radius: 0.1%; width: 1600px; height: 800px; overflow: hidden; margin-top: 150px; margin-left: -380px; position: absolute; z-index: 32768; box-shadow: 0px 0px 0px 0px #e0eebb, 0px 0px 0px 0px #e0eebb, 0px 0px 0px 0px #000000, 0px 0px 0px 18px #007788;">
<div style="width: 1600px; height: 800px; margin-top: -20px; margin-left: -60px; position: absolute; z-index: 32768;"><iframe width="1750" height="920" src="http://pan.yinhuabbs.cn/view.php/1fb545e780c69bf901a0033659db56ea.html " frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>
</div></div></div></div>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> var imgSet =[];
var keyFrames =
[];
var EffectTiming = {duration: 8000, fill: 'forwards'};
var imgIdx = 0, lastIdx = imgSet.length - 1;
var imgBlock, curp, aniObj;
function initTrun() {
imgBlock = document.getElementById('hWindow');
curp = document.getElementById('curp');
aniObj = curp.animate(keyFrames, EffectTiming);
aniObj.pause();
aniObj.onfinish = chg_cur_pic;
chg_cur_pic(); //my_audio.play();
}
function chg_cur_pic() {
imgBlock.style.backgroundSize = "cover";
imgBlock.style.backgroundImage = "url(" + imgSet + ")";
curp.style.backgroundImage = "url(" + imgSet + ")";
lastIdx = imgIdx;
imgIdx++;
imgIdx %= imgSet.length;
aniObj.play();
}
initTrun();
多余的代码
页:
[1]