b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

幻灯片js特效_播放图片JS_js幻灯片是什么(4)

电脑杂谈  发布时间:2017-06-11 07:03:54  来源:网络整理

picList[z].style.zIndex='3';

if (currentNum!=z){

picList[z].style.left='650px';

moveElement('picLi_'+z,0,0,10);

}

}

}

}

setInterval('autoBanner()', 5000);

function autoBanner() {

if(!$('ibanner')||!$('ibanner_pic')||!$('ibanner_btn')||autoKey) return;

var btnList = $('ibanner_btn').getElementsByTagName('span');

var picList = $('ibanner_pic').getElementsByTagName('a');

if (picList.length==1) return;

for(var i=0; i<btnList.length; i++) {

if (btnList[i].className == 'current') {

var currentNum = i;

}

}

if (currentNum==(picList.length-1) ){

classNormal();

picZ();

btnList[0].className='current';

picList[currentNum].style.zIndex='2';

picList[0].style.zIndex='3';

picList[0].style.left='650px';

moveElement('picLi_0',0,0,10);

} else {

classNormal();

picZ();

var nextNum = currentNum+1;

btnList[nextNum].className='current';

picList[currentNum].style.zIndex='2';

picList[nextNum].style.zIndex='3';

picList[nextNum].style.left='650px';

moveElement('picLi_'+nextNum,0,0,10);

}

}

addLoadEvent(addBtn);

addLoadEvent(iBanner);

</script>

</head>

<body>

<div>

<div>

<a href="/jscss/"><img src="/jscss/demoimg/200904/a1.jpg" alt="" /></a>

<a href="/sort/index.shtml"><img src="/jscss/demoimg/200904/a2.jpg" alt="" /></a>

<a href="/other/lastupdate.shtml"><img src="/jscss/demoimg/200904/a3.jpg" alt="" /></a>

<a href="/other/top100.shtml"><img src="/jscss/demoimg/200904/a4.jpg" alt="" /></a>

</div>

</div><!--ibanner end-->

<div></div>

</body>

</html>


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-52219-4.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...