#1 22-09-2011 11:53:31

kouthair
Insideur
Lieu: tunisie sfax
Date d'inscription: 13-09-2010
Messages: 17
Site web

Index défilante

collez le code ci dessou dans <head>  </haed>
   

Code:

  <script language="JavaScript1.2">               

/*****************************************
* Visit our site at http://www.informatique-inside.com/ for more code
* This notice must stay intact for use
***********************************************/            
//change 1 to another integer to alter the scroll speed. Greater is faster               
var speed=1               
var currentpos=0,alt=1,curpos1=0,curpos2=-1               
function initialize(){               
startit()               
}               
function scrollwindow(){               
if (document.all)               
temp=document.body.scrollTop               
else               
temp=window.pageYOffset               
if (alt==0)               
alt=1               
else               
alt=0               
if (alt==0)               
curpos1=temp               
else               
curpos2=temp               
if (curpos1!=curpos2){               
if (document.all)               
currentpos=document.body.scrollTop+speed               
else               
currentpos=window.pageYOffset+speed               
window.scroll(0,currentpos)               
}               
else{               
currentpos=30               
window.scroll(0,currentpos)               
}               
}               
function startit(){               
setInterval("scrollwindow()",30)               
}               
window.onload=initialize               
</script>

ex : http://lsht.net23.net/hacked2/


Nous ne somme pas encore libre
Nous avons seulement atteint la liberté d’être libre

by kouthair 2011 X All Rights Reserved

http://rouchka-tn.site90.com/kouthair/3333.png

Hors ligne

 

#2 22-09-2011 18:23:24

coyotus
#! Gourou Linux
Lieu: fort fort lointain
Date d'inscription: 16-05-2009
Messages: 184
Site web

Re: Index défilante

Pas mal merci


http://img705.imageshack.us/img705/5671/coyotusign.gif

Hors ligne

 

#3 22-09-2011 20:59:20

kouthair
Insideur
Lieu: tunisie sfax
Date d'inscription: 13-09-2010
Messages: 17
Site web

Re: Index défilante

^^'


Nous ne somme pas encore libre
Nous avons seulement atteint la liberté d’être libre

by kouthair 2011 X All Rights Reserved

http://rouchka-tn.site90.com/kouthair/3333.png

Hors ligne

 

Pied de page des forums

Propulsé par PunBB
© Copyright 2002–2005 Rickard Andersson
Traduction par punbb.fr