Je tiens à remercier Nopain pour le titre du post
C'est lui qui a baptisé cet effet "Las Vegas"

je vous livre le code:
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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Nouvelle page 1</title>
<script type='text/javascript'>
var rainbow=new Array('violet','indigo','blue','green','yellow','orange','red');
var step=0
function arcenciel(chaine){
tabchaine=chaine.split('')
var i=0
var arc=document.createElement('div')
while(tabchaine[i++]){
	var lettre=document.createElement('span')
	lettre.innerHTML=(tabchaine[i-1]==" ")?"&nbsp;":tabchaine[i-1];
	lettre.id='lettre'+(i-1)
	arc.appendChild(lettre)
	}
document.body.appendChild(arc)
var irise=setInterval (function(){colorise(tabchaine.length)},100)
}
 
 
function colorise(long){
temp=step
 
for (i=0;i<long; i++){
   couleur=(long+temp-i) % 7
   document.getElementById('lettre'+i).style.color=rainbow[couleur]
   }
   step++
   }
</script >
<style type="text/css">
body {background-color: silver;}
</style>
 
</head>
 
<body onload="arcenciel('un texte entier qui brille comme un arc en ciel')">
 
</body>
 
</html>
Et la page de démo c'est par ici


Message personnel: Daniel je compte sur toi pour en faire un addon jquery