1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Document sans nom</title>
<script type="text/javascript">
var tabElem=Array("next.gif","prev.gif");
var tabDelay=Array(2000,4000);
var index=0;
function pub()
{
if(index>=tabElem.length) index=0;
if(tabElem.length>1)
{ document.getElementById("img_pub").src=tabElem[index];
index++;
setTimeout("pub()",tabDelay[index-1]);
}
}
</script>
</head>
<body onload="pub()">
<div id="pub" style="width:300px; height:250px;"><IMG id="img_pub" WIDTH=250 HEIGHT=100 SRC=''></div>
</body>
</html> |