代码直接贴出来了如下:
<script language=javascript>
var m=4;
var n=Math.floor(Math.random()*m+1)
switch(n)
{
case 1:
document.write('<div class=zdimg><a href=1.com><img src=/a.gif></a></div>');
break;
case 2:
document.write('<div class=zdimg><a href=1.com><img src=/b.gif></a></div>');
break;
case 3:
document.write('<div class=zdimg><a href=1.com><img src=/c.gif></a></div>');
break;
case 4:
document.write('<div class=zdimg><a href=1.com><img src=/d.gif></a></div>');
break;
}
</script>
查看原内容