can i use javascript and probably css or dhtml to rotate a given image 90 degrees to the right?
i want it to simply spin in place until the top of the image is facing right.
i’m trying to code a function that will allow me to turn any image on the webpage to the right and back to its original position.
please note i don’t mean changing the src attribute to flip thru a slide show,
or to replace the image src with another that is already rotated, i want to actually turn the image right in the browser window so it looks like it toppled over and fell down, doesn’t have to be animated, it can just flip in one frame.
thanks guys.
by the way it only has to work in internet explorer.