[code=HTML]<html>
<head>
<script type="text/javascript">
function progress() {
if (document.image s["bar"].width < 400) {
document.images["bar"].width += 5;
document.images["bar"].height = 5;
} else {
clearInterval(I D);
}
}
var ID;
window.onload = function() {
ID = setInterval("pr ogress();", 500);
}
</script>
</head>
<body>
<img src="black.gif" name="bar" />
</body>
</html>[/code]
black.gif is an extremely small square I made in paint.
- Death
<head>
<script type="text/javascript">
function progress() {
if (document.image s["bar"].width < 400) {
document.images["bar"].width += 5;
document.images["bar"].height = 5;
} else {
clearInterval(I D);
}
}
var ID;
window.onload = function() {
ID = setInterval("pr ogress();", 500);
}
</script>
</head>
<body>
<img src="black.gif" name="bar" />
</body>
</html>[/code]
black.gif is an extremely small square I made in paint.
- Death
Comment