Hey there!
For some reason i keep getting this error in both FF and IE6
Error: missing ; before statement
[B]Line: 256, Column: 9
Source Code:
fucntion wallpaperNewsFF(){
[U]My JS:
[CODE]fucntion wallpaperNewsFF(){
document.getElementById(“wallpaperNews”).style.backgroundPosition = “0px -26px”;
document.getElementById(“whosOnline”).style.backgroundPosition = “0px -0px”;
}
fucntion whosOnlineFF(){
document.getElementById(“wallpaperNews”).style.backgroundPosition = “0px -0px”;
document.getElementById(“whosOnline”).style.backgroundPosition = “0px -26px”;
}
[U]
My HTML:
[CODE]<div id=”wallpaperNews” onClick=”wallpaperNewsFF()”>
stuff
</div>
<div id=”whosOnline” onClick=”whosOnlineFF()”>
stuff
</div>
Please help
Thanks!!