- <HTML>
- <HEAD>
- <TITLE></TITLE>
- <SCRIPT>
- // © http://www.systeme-d.net
- // MaxW : Largeur de l'image de fond
- // MaxH : Hauteur de l'image de fond
- // mSec : Interval de répétition (Milliseconde)
- var CurrentW = 0
- var CurrentH = 0
- function ScrollBackground(MaxW, MaxH, mSec){
- if (CurrentW >= MaxW){CurrentW = 0}else{CurrentW++}
- if (CurrentH >= MaxH){CurrentH = 0}else{CurrentH++}
- document.body.style.backgroundPosition= CurrentW + " " + CurrentH
- setTimeout("ScrollBackground("+MaxW+","+MaxH+","+mSec+")",mSec)
- }
- </SCRIPT>
- </HEAD>
- <BODY BACKGROUND="http://www.javascriptfr.com/graphix/logojs.gif" onload="ScrollBackground(194,73,100)">
-
- </BODY>
- </HTML>
<HTML>
<HEAD>
<TITLE></TITLE>
<SCRIPT>
// © http://www.systeme-d.net
// MaxW : Largeur de l'image de fond
// MaxH : Hauteur de l'image de fond
// mSec : Interval de répétition (Milliseconde)
var CurrentW = 0
var CurrentH = 0
function ScrollBackground(MaxW, MaxH, mSec){
if (CurrentW >= MaxW){CurrentW = 0}else{CurrentW++}
if (CurrentH >= MaxH){CurrentH = 0}else{CurrentH++}
document.body.style.backgroundPosition= CurrentW + " " + CurrentH
setTimeout("ScrollBackground("+MaxW+","+MaxH+","+mSec+")",mSec)
}
</SCRIPT>
</HEAD>
<BODY BACKGROUND="http://www.javascriptfr.com/graphix/logojs.gif" onload="ScrollBackground(194,73,100)">
</BODY>
</HTML>