SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Image rotating

  1. #1
    SitePoint Addict
    Join Date
    May 2007
    Posts
    242
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Image rotating

    Hello I try to rotate an image at some angles using javascript. An example of this effect can be seen on this page. Is it possible to rotate image in this manner using javascript?

    Thanks in advance.

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    No it is not. This is why flash has to be used to do it.
    It may be possible in a few years though to use css to reliably rotate images, which can be controlled via javascript.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Wizard
    Join Date
    Nov 2004
    Location
    Nelson BC
    Posts
    2,310
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can do it in IE (5.5+) only, using the Matrix filter.

  4. #4
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ... or you could rotate images using the Canvas HTML element in Firefox, Safari and Opera.

    Google has ExplorerCanvas that simulats the Canvas element for IE, so you could write one solution for all browsers. No need to use Flash for this.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •