function rotateBarrel(){
barrel.style.?whatwouldgohere? = angle.value;
}
is it as simple as a style value or does this require more drastic action?
Any help would be greatly appreciated, thanks.
rotating images in javascript
imagine for a second that i want to rotate an image, barrel.gif, to an angle so defined by the user or other functions in the script.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement