Changes between Version 11 and Version 12 of Ajeterici/MainPage


Ignore:
Timestamp:
2011-10-19T21:39:09+02:00 (12 years ago)
Author:
nvuilsce
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Ajeterici/MainPage

    v11 v12  
    99{{{ 
    1010#!html 
    11 <h1>ORCHIDEE meetings</h1> 
    12 <marquee behavior="scroll" direction="right">This is the animated sentence.</marquee> 
     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 
     21debutY=250 //Position Y de début du scrolling (0= haut de l'écran) 
     22finY=-300 //Position Y de fin de scrolling 
     23Boucle=1 //1 =le scrolling tourne en boucle, 0 =il s'arrête 
     24step=2 //espacement entre chaque step du scrolling 
     25speed=100 //vitesse du scrolling 
     26UpDown=1 //1= Scrolling vers le haut 0=Scrolling vers le bas 
     27 
     28objectX="object";y=debutY;x=155;stp=0; 
     29function setVariables(){ 
     30if (navigator.appName == "Netscape") h=".left=",v=".top=",dS="document.",sD=""; 
     31else h=".pixelLeft=",v=".pixelTop=",dS="",sD=".style";} 
     32function scrollUp(){ 
     33y-=step;eval(dS + objectX + sD + v + y); 
     34if ((y<finY)&&(Boucle==1)) y = debutY; 
     35if ((y<finY)&&(Boucle==0)) stp = 1; 
     36if ((y>=finY)&&(stp==0)) setTimeout ("scrollUp()",speed);} 
     37function scrollDown(){ 
     38y+=step;eval(dS + objectX + sD + v + y); 
     39if ((y>finY)&&(Boucle==1)) y = debutY; 
     40if ((y>finY)&&(Boucle==0)) stp = 1; 
     41if ((y<=finY)&&(stp==0)) setTimeout ("scrollDown()",speed); 
     42} 
     43setVariables();if (UpDown==1) scrollUp();else scrollDown() 
     44 
     45//--> 
     46</script>  
    1347}}} 
    1448