Click to See Complete Forum and Search --> : Script help
I am trying to do an assignment for which I need to make an image move. We have been given two files of the image, one in which the image appears still and the other in which it apears to be "shaken." Can someone please help me with what code I should be using. Thanks!
AdamBrill
02-20-2003, 01:58 PM
Try putting the image inside of <div> tags and then moving the <div> tag with styles. You should use absolute positioning. You can access the styles like this:
[object].style.top+=5;
or whatever. Hope that helps!
Hello Dave,
Thanks for your reply. I want to go for option 1 that you have described. Please keep in mind that I am totally new to javascript so I need something that I can get done with not much difficulty.