-
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?
-
try this:
<BODY onload="startTimer();">
-
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
-
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
-
yes there is,
whenever I try to use onMouseover or onClick and dont capitalize the M or C is does not work
-
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.
-
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.
-
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