hi all
got a small problem i manged to get the positions changed of the div tags, it works perfectly on opera but not firefox, any ideas why?
here is my javascript
:
Code:
function anime1(anime) {
//10 secs delay
setTimeout('anime()',10000)
}
function anime(a) {
//get div elemnts
document.getElementById("a").style.top=370;
document.getElementById("b").style.top=390;
document.getElementById("c").style.top=410;
document.getElementById("c2").style.top=250;
document.getElementById("d").style.top=350;
document.getElementById("e").style.top=430;
document.getElementById("f").style.top=270;
document.getElementById("g").style.top=310;
document.getElementById("h").style.top=290;
document.getElementById("i").style.top=330;
document.getElementById("j").style.top=450;
}
the webdeveloper extension is giving me this javascript error:
Error: Error in parsing value for property 'top'. Declaration dropped.
thanks for looking and ur time