|
-
Jun 28th, 2000, 11:44 PM
#1
Thread Starter
Member
I keep getting an error on my page when I put the tag:
<BODY onload="startTimer()">
into the web page. It keeps telling me that there is a ";" expected, but I've checked Mark Sreeves' (and the few additions I've made) code, and I can't ifnd a missing ; and it's not that long a script so I probably not missing it. Can something else cause this?
-
Jun 30th, 2000, 12:25 PM
#2
Hyperactive Member
try this:
<BODY onload="startTimer();">
"People who think they know everything are a great annoyance to those of us who do."
-
Jul 16th, 2000, 03:32 PM
#3
Member
Nope <body onload="startTime()"> is the correct syntax..
Capone, post your code, it would be helpful 
First make sure you didn't forget a ";" in your function and it's formatted:
Code:
<script language="Javascript">
function startTimer(){
...
}
</script>
Hope this helps...
See you, keetsh
-
Jul 16th, 2000, 05:07 PM
#4
Member
Well... according to you denniswrenn there would be a difference between:
Code:
<object onMouseOver="callfunction(param)">
//and
</object onmouseover="callfunction(param)">
I'm sorry, but there aren't any! 
keetsh
-
Jul 17th, 2000, 09:15 AM
#5
yes there is,
whenever I try to use onMouseover or onClick and dont capitalize the M or C is does not work
-
Jul 17th, 2000, 01:53 PM
#6
Fanatic Member
Are you using a freehost such as Geocities? If so it could be an error in their banner code, it's happened to me before with them.
-
Jul 17th, 2000, 08:19 PM
#7
Addicted Member
what browser do you use dennis ?and what version of it?
I'm lazy when it comes to java scripts, and usually forget about capitalising, but it has always works for me, for example when I use the onMouseOver event I usually type it in lower case and it has always worked for me.
-
Jul 18th, 2000, 02:47 AM
#8
Member
hummm thanks for supporting my opinion.. 
Unless you're not using NN 2 I'm not sure it wouldn't work.. actually, it works well with NN 4 and IE 4 and up
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|