Français
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> Nouveau document </TITLE> <META NAME="Générateur" CONTENT="EditPlus"> < META NAME="Auteur" CONTENT=""> <META NAME="Mots clés" CONTENT=""> <META NAME="Description" CONTENT=""> </HEAD> <BODY> <div align="center"> <div id=AdRotator></div><input id="second"><button onclick="adRotator.set(getRef('second').value)">régler l'heure</button></div> <SCRIPT LANGUAGE="JavaScript"> <!-- function adRotator() {}; adRotator.initialize=function(o) { // script de blueDestiny this._t = new Array(); this._l = nouveau tableau(); this._p = nouveau tableau(); this._i = nouvelle Image(); ceci._c = 0; this._f = faux; ceci._o = o; this._timeout = null ; ceci._html = ""; //configuration. // @ largeur de l'image // @ hauteur de l'image // @ vitesse du rotateur // @ type de filtre this._w = 450; ceci._h = 450 ; ceci._s = 4; ceci._x = 23; rends ceci ; } ; adRotator.add=function(p,t,l) { with (this) { _p.push(p); _t.push(t); _l.push(l); }} ; adRotator.load=function() { with (adRotator) { if( _i.readyState=='complete' ) { if(_p.length-1==_c) { _f = true; _c = 0 ; window.clearTimeout(_timeout); //getRef("AdRotator").innerHTML="complete"; adRotator.play(); } autre { _c++; getRef(_o).innerHTML="total des images " + _p.length + ", chargement de l'image " + _c + ' ' + _i.readyState + "..."; _timeout=window.setTimeout(adRotator.load,10) } } else { getRef(_o).innerHTML="total des images " + _p.length + ", chargement de l'image " + _c + ' ' + _i.readyState + " .. " ; _timeout=window.setTimeout(adRotator.load,10) } }} ; adRotator.play=function() { with (adRotator) { if( _f ) { _html = ""; _html += '<table style="border:1px solid #333333;"><tr><td style="font-size:9pt;font-family:tahoma;font-weight:bold;">' _html += '<div id="rotatorPlayer"' + ' style="width:' + _w + '' + ';height:"' + _h + '"' + '>' _html += '<a href="' + ( _l[_c] ? _l[_c] : "javascript:void(0);" ) + '">'; _html += '<img id="rotatorPic" src="' + _p[_c] + '" ' + ' width="' + _w + '"' + ' height="' + _h + '"' + (_t[_c]?' title="' + _t[_c] + '"':'') + ' style="border:1px solid blue;FILTER:revealTrans(transition=' + _x + ',duration=1);"' + ' >'; _html += (_t[_c]?('<div align= "centre">' + (_c+1) + '. ' + _t[_c] + '</div>'):'<p></p>'); _html += "</div>"; _html += '<div align="right">'; for(var i=0; i<_p.length; i++) _html += '<span' + ' style= "border:1px solid #333333;padding:1px 5px 1px 5px;height:20px;text-align:center;cursor:' + (_c==i ? ('default;background-color:red;"') : ' main;" onclick="adRotator.select(' + i + ')"') + '>' + (i>8?(i+1):('0'+(i+1)))+ '< /envergure> '; _html += "</div></td></tr></table>"; getRef(_o).innerHTML = _html; getRef("rotatorPic").filters[0].Apply(); getRef("rotatorPic").filters[0].Play(); suivant(); } autre { _i.src = _p[_c]; adRotator.load(); } }} ; adRotator.next=function() { avec (this) { (_p.length-1==_c) ? _c=0 : _c++; _timeout=window.setTimeout(adRotator.play,_s*1000); }} ; adRotator.select=function(i) { with (this) { window.clearTimeout(_timeout); _c = je; adRotator.play(); }} ; adRotator.set=function(second) { with (this) { window.clearTimeout(_timeout); if((/d+/).test(second)==true) { _s=seconde; adRotator.play(); } else { alert("doit être un chiffre!") adRotator.play(); } }} ; function getRef(id) { return (document.all?document.all(id):document.getElementById(id)); } adRotator.initialize("AdRotator"); adRotator.add("","aa","http://www.downcodes.com") adRotator.add("") adRotator.add("") adRotator.add("") adRotator.add("" ) adRotator.play(); //--> </SCRIPT> </BODY> </HTML>