#1
  1. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2001
    Location
    Midrand, South Africa
    Posts
    154
    Rep Power
    13

    Question Rotating Images using JS / DHTML


    Is it possible to rotate an image on a page to a degree? For instance, can I take an image and once the user click on an object, rotate the image by x degrees.

    Is this possible?
    Neil Craig
    Software Developer
    SourceCode Techonolgy Holdings Inc
    South Africa
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    249
    Rep Power
    11
    Yes,

    but is not easy. You will have to make different versions of the image by rotating in some image processing program. Then using css you will define different layers which become (in)visible when the user clicks.

    http://galileo.spaceports.com/~ibidris/

IMN logo majestic logo threadwatch logo seochat tools logo