bonjour les gens !

J'expose mon probleme :

J'ai un script qui permet de faire coulisser un div dans l'ecran ou hors de l'ecran !
Celui-ci fonctionne trés bien avec IE a premeier vue !
Mais pas sous FF2 !

En faite sous ff2 le div accept de sortir de l'ecran mais pas de revenir

Voici mon script :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<style type="text/css"> 
 
 #cadreintro2{
	position:absolute;
	left: 0px;
	top: 199px;
	z-index: 3;
	width: 540px;
	height: 236px;
background-color:#00CC00;
 } 
   </style>
 
 
    <script type="text/javascript">
var pos=0
function launch(){
 
var banniere=document.getElementById('cadreintro2')
var moveup=setInterval(function(){   
                              if(pos==0){clearInterval(moveup)}
                              else{banniere.style.left=pos;
                                   pos++;}
                               },1)   
 
var movedown=setInterval(function(){   
                              if(pos==-520){clearInterval(movedown)}
                              else{banniere.style.left=pos;
                                   pos--;}
                               },1)   
}
 
</script>  
<!-- DEBUT DIV INTRO-->
 
<div id="cadreintro2">
<table width="540" border="0" cellspacing="0" cellpadding="0">
 
  <tr>
      <td width="540"> PETIT HOMME DANS LA VIE IL FAUT 
        QUE CA GLISSE :) </td>
    <td>
    <input type="button" onclick="launch()" value="go" /></td>
  </tr>
</table>
</div>
 
<!-- FIN DIV INTRO -->
Merci d'avance