Code One
07-14-2003, 11:10 PM
Hey guys, whats up?
Well I got me another settimeout questionare, so if you would be so astute and geniourous enough to help me I would be in debt to you for ever. If thats not good enough purhaps I'll mow your lawn for a week straight. Cool?
Anyway, here's my question. I would like to have a document write text to it's self in a certain order (not random) in a set amount of time. Such as if I set it up to say "hello" at start and then a minute later I could have it post something like "I said HELLO!!!!!", then another minute later have it post something like, "Fine then.", etc. etc. etc. I have a dull sense of Jscript and I would like to offer what I have to help illustrate better what I am trying to accomplish:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<html>
<head>
<title></title>
<script>
function goboy(){
document.write("hello.")
document.settimeout("hello",5000)
}
</script>
</head>
<body onload="goboy()">
</body>
</html>
See what I mean, I am pathetic, but you are not and maybe you could help me. So there it is, and there I go.
;)
Code One
Well I got me another settimeout questionare, so if you would be so astute and geniourous enough to help me I would be in debt to you for ever. If thats not good enough purhaps I'll mow your lawn for a week straight. Cool?
Anyway, here's my question. I would like to have a document write text to it's self in a certain order (not random) in a set amount of time. Such as if I set it up to say "hello" at start and then a minute later I could have it post something like "I said HELLO!!!!!", then another minute later have it post something like, "Fine then.", etc. etc. etc. I have a dull sense of Jscript and I would like to offer what I have to help illustrate better what I am trying to accomplish:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<html>
<head>
<title></title>
<script>
function goboy(){
document.write("hello.")
document.settimeout("hello",5000)
}
</script>
</head>
<body onload="goboy()">
</body>
</html>
See what I mean, I am pathetic, but you are not and maybe you could help me. So there it is, and there I go.
;)
Code One