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
| <html>
<head>
<title>LOADING</title>
<HTA:APPLICATION
ID="0.Menu"
APPLICATIONNAME="LOADING"
BORDER = "none"
SINGLEINSTANCE="yes"
WINDOWSTATE="normal"
MAXIMIZEBUTTON="no"
MINIMIZEBUTTON="no"
SCROLL="no"
SCROLLFLAT="no"
VERSION="1.0"
INNERBORDER="no"
CONTEXTMENU="no"
BORDERSTYLE="normal">
</head>
<script language="vbscript">
window.resizeTo 150,130
screenWidth = Document.ParentWindow.Screen.AvailWidth
screenHeight = Document.ParentWindow.Screen.AvailHeight
posLeft = (screenWidth - 150) / 2
posTop = (screenHeight - 130) / 2
window.moveTo posLeft, posTop
iTimerID = window.setInterval("ShowSplash", 10000)'Un timer pour afficher le HTA pendant 10s
'Donc vous pouvez modifier le timer
Sub ShowSplash()
Splash.Style.Display = "None"
Window.Close()' Pour Quitter le HTA :)
End Sub
</script>
<html>
<body>
<center><img src="loading.gif"></center>
<DIV id="Splash">
</body>
</html> |