PDA

View Full Version : Add rotation to "Simple Image Panner and Zoomer v1.1"



rwhiting
08-12-2010, 11:20 PM
1) Script Title:"Simple Image Panner and Zoomer v1.1"

2) Script URL (on DD):http://dynamicdrive.com/dynamicindex4/imagepanner.htm

3) Describe problem: I am wanting to add image rotation to this script. I am thinking that one might use:
[code]
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
// ie
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
[code]
to make this happen. I have had limited success making this work.

Any ideas on the easiest way to rotate images in the context of this very good panner and zoomer?