то есть
<script language="JavaScript">
<!--
var a=Math.round(Math.random()*2)
image = new Array();
<a href= "1.html">image[0]="images/1.gif"</a>
<a href= "2.html">image[1]="images/2.gif"</a>
<a href= "3.html">image[2]="images/3.gif"</a>
<a href= "4.html">image[3]="images/4.gif"</a>
document.write ("<img src="+image[a]+" hspace=500 vspace=208>");
//-->
</script>
или как? (Отредактировано автором: 29 Октября, 2009 - 18:06:09)
|