Entry
How can I flip (rotate) an image 90 degrees using an onclick event?
Apr 4th, 2002 06:17
Jean-Bernard Valentaten, Jason Barrentine,
I'm afraid js doesn't support any graphic options, but of course there
is a workaround.
All you need to do is to save the picture you want to rotate, rotated
by 90 degrees as a spare file and exchange the picture onclick.
Of course this means that you'll need more space on the webserver and
this increases traffic too, since you'll need to preload the rotated
picture.
HTH,
Jean