Menu
i just need access to a divs css “left” property.. thats all, i just want to dynamically control its horizontal position.. why doesnt this work?:
var moveMe = document.getElementById(“divToMove”);
function moveDiv()
{
moveMe.style.left = “300px”;
}
this is a simplication of my real code.
Ive got it so a rollover correctly triggers the moveDiv function..
im so confused and i have a deadline… i havent used js for css manipulation before, google keeps telling me to use the farken getElementById thing and refer to css properties by object.style.cssporoperty, but it doesnt work!!!!!!