⽹页浮动图⽚代码
<div id="flash">
<script type="text/javascript">
var widths = 865;
编辑器怎么同步到/*显⽰⾼度,⾃⾏调整*/
var heights = 255;
/*显⽰宽度,⾃⾏调整*/
var counts = 5;
img1 = new Image();
img1.src = 'images/flash_07.jpg';
img2 = new Image();
img2.src = 'images/flash_071.jpg';
img3 = new Image();
img3.src = 'images/flash_072.jpg';
img4 = new Image();
img4.src = 'images/flash_073.jpg';
img5 = new Image();
img5.src = 'images/flash_074.jpg';
//url1=new Image ();url1.src=''; //图⽚点击的⽹页链接
//url2=new Image ();url2.src='';
//url3=new Image ();url3.src='';
//url4=new Image ();url4.src='';
/
/url5=new Image ();url5.src='';
/* 建议将这块放置于JS中下⾯的部分⼏乎是不需要任何改动*/
var nn = 1;
颜分析器var key = 0;
function change_img() {
if (Sys.ie) {
//}
eval('ElementById("pic").src=img' + nn + '.src');splice the main brace小猪佩奇
//eval('ElementById("url").href=url'+nn+'.src');
nn++;
if (nn > counts) {
nn = 1;
html个人网页完整代码图片}
tt = setTimeout('change_img()', 7000);
} else {
if (key == 0) {
key = 1;c语言字符常量表
} else if (document.all) {
素材模板大全ElementById("pic").filters[0].Apply();
}
eval('ElementById("pic").src=img' + nn + '.src');
//eval('ElementById("url").href=url'+nn+'.src');
nn++;
if (nn > counts) {
nn = 1;
}
tt = setTimeout('change_img()', 7000);
}
}
//function changeimg(n){nn=n;window.clearInterval(tt);change_img();}
document.write('<div><a id="url" ><img id="pic" width=' + widths + ' height=' + heights + ' /></a></div>'); //for(var i=1;i<counts+1;i++){document.write('<a href="javascript:changeimg('+i+');" id="xxjdjj'+i+'" class="axx" target="_self">'+i+'</a>');}
change_img();
</script>
</div>
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论