1 Replies - 481 Views - Last Post: 08 May 2013 - 06:05 PM

#1 AIintern  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 53
  • Joined: 06-June 12

how do I call a CSS3 transformation using javascript?

Posted 08 May 2013 - 06:00 PM

I was wondering how would I call a CSS3 transformation using javascript?


For example..

AFter my image goes across the screen it will trigger the

Transform()
function

the transform function would move the picture to the middle of the screen and stretch it. then say "WINNER"



thanks guys
Is This A Good Question/Topic? 0
  • +

Replies To: how do I call a CSS3 transformation using javascript?

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 8952
  • View blog
  • Posts: 33,551
  • Joined: 12-June 08

Re: how do I call a CSS3 transformation using javascript?

Posted 08 May 2013 - 06:05 PM

I would use the dom's "get element by id" and change the style to what ever you want it to be.

http://www.w3schools...elementbyid.asp
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1