Changes between Version 12 and Version 13 of Ajeterici/MainPage


Ignore:
Timestamp:
2011-10-19T22:07:39+02:00 (13 years ago)
Author:
nvuilsce
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ajeterici/MainPage

    v12 v13  
    77 
    88---- 
    9 {{{ 
    10 #!html 
    11 <div id="object" style="position:absolute; visibility:show; left:9px; top:287px; z-index:1; width: 184px; height: 614px"> 
    12 <pre>Texte</pre> 
    13  
    14 <pre>déroulant</pre> 
    15  
    16 <pre>verticalement.</pre> 
    17 </div> 
    18 <script LANGUAGE="JavaScript"> 
    19 <!-- 
    20  
    21 debutY=250 //Position Y de début du scrolling (0= haut de l'écran) 
    22 finY=-300 //Position Y de fin de scrolling 
    23 Boucle=1 //1 =le scrolling tourne en boucle, 0 =il s'arrête 
    24 step=2 //espacement entre chaque step du scrolling 
    25 speed=100 //vitesse du scrolling 
    26 UpDown=1 //1= Scrolling vers le haut 0=Scrolling vers le bas 
    27  
    28 objectX="object";y=debutY;x=155;stp=0; 
    29 function setVariables(){ 
    30 if (navigator.appName == "Netscape") h=".left=",v=".top=",dS="document.",sD=""; 
    31 else h=".pixelLeft=",v=".pixelTop=",dS="",sD=".style";} 
    32 function scrollUp(){ 
    33 y-=step;eval(dS + objectX + sD + v + y); 
    34 if ((y<finY)&&(Boucle==1)) y = debutY; 
    35 if ((y<finY)&&(Boucle==0)) stp = 1; 
    36 if ((y>=finY)&&(stp==0)) setTimeout ("scrollUp()",speed);} 
    37 function scrollDown(){ 
    38 y+=step;eval(dS + objectX + sD + v + y); 
    39 if ((y>finY)&&(Boucle==1)) y = debutY; 
    40 if ((y>finY)&&(Boucle==0)) stp = 1; 
    41 if ((y<=finY)&&(stp==0)) setTimeout ("scrollDown()",speed); 
    42 } 
    43 setVariables();if (UpDown==1) scrollUp();else scrollDown() 
    44  
    45 //--> 
    46 </script>  
    47 }}} 
    489 
    4910'''''Latest News'''''