- <html>
-
- <head>
- <SCRIPT>
- function affichefond (i) {
- r=i; v=i; b=i
- hexa="0123456789abcdef"
- fond = hexa.charAt (Math.floor (r/16))
- fond = fond + hexa.charAt (r % 16)
- fond = fond + hexa.charAt (Math.floor (v/16))
- fond = fond + hexa.charAt (v % 16)
- fond = fond + hexa.charAt (Math.floor (b/16))
- fond = fond + hexa.charAt (b % 16)
- document.bgColor = fond
- }
- i=0
- function degrade () {
- i += 1
- if (i>255) i=0
- affichefond (i)
- setTimeout("degrade()",30)
- }
- </SCRIPT>
-
- </head>
-
- <body BGCOLOR="#000000" onLoad="degrade ();">
- <H1>CE TEXTE APPARAIT PETIT A PETIT</H1>
-
- </body>
-
- </html>
<html>
<head>
<SCRIPT>
function affichefond (i) {
r=i; v=i; b=i
hexa="0123456789abcdef"
fond = hexa.charAt (Math.floor (r/16))
fond = fond + hexa.charAt (r % 16)
fond = fond + hexa.charAt (Math.floor (v/16))
fond = fond + hexa.charAt (v % 16)
fond = fond + hexa.charAt (Math.floor (b/16))
fond = fond + hexa.charAt (b % 16)
document.bgColor = fond
}
i=0
function degrade () {
i += 1
if (i>255) i=0
affichefond (i)
setTimeout("degrade()",30)
}
</SCRIPT>
</head>
<body BGCOLOR="#000000" onLoad="degrade ();">
<H1>CE TEXTE APPARAIT PETIT A PETIT</H1>
</body>
</html>