Erreur sur script pulsate >> jquery.js::6119
Bonjour ,
html :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| <!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<title>Titre</title>
<script src="jquery.js"></script>
<script src="jquery-ui-1.9.2.custom.js"></script>
</head>
<body>
<div id="alm"><img src="mauvais.png" />
<br>
<font color="#FF0000">Particules Fines</font>
<br>
<a href="http://www.air-rhonealpes.fr/site/accueil/mobile/geolocaliser/valence" target="_blank"> >> ..</a>
</div>
</body>
</html> |
Jquery :
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| // -----------
var alarm=1;
// -----------
if(alarm==1){
while(1){
$("#alm").effect("pulsate",{ times : 1 },1000);
$("#alm").show();
}
}
else{
$("#alm").hide();
} |
Quelques conseils pour trouver un catalogue des erreurs de script serait un plus ?
:mrgreen: