Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Math

Rotation on textfields. Working only in IE

Go to solution Solved by Math,

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi,

 

This codepen works in IE but not Chrome or Firefox.

 

Basically its the same setup as i have in Lectora. Lectora autogenerates html and css, so i cannot change much in the structure of the html. The javascript however i can change to whatever needed to get this working.

 

Doublechecked with some other projects done, and noticed that indeed IE works while Firefox and Chrome have problems with tweens for x/y, rotation, scale and the alike...

 

Tested on:

Windows 10,

IE: 11.0.10240

FF:  41.0.1

Chrome: 45.0.2454.101 m

 

Doing some searching in different codepens i find several pens that work alike. But all of them do create/append new text elements that then get transformed. A workaround i might give a try. But in my case i would prefer not to create new text and just animate like in IE on the existing texts.

 

I hope anyone can help out.

 

Kind regards,

Math

See the Pen ojZGzM by anon (@anon) on CodePen

Link to comment
Share on other sites

Hi Math :)

 

pls add this to your css :

span{ display:block; }
  • Like 2
Link to comment
Share on other sites

seems to work..in codepen at least... gonna test it in Lectora asap...

 

Thx Diaco...

Link to comment
Share on other sites

  • Solution

Top Diaco. Works perfect both in Chrome as in FF.

Thx very much.

Working a lot with GSAP ( my favourite tweening library ) in Lectora.

Some of the stuff i shared on the Trivantis ( developer of Lectora ) community you find here:

  http://community.trivantis.com/  

Most things i shared there use GSAP.
Working on a few new ones ( one of those i encountered this ) now..

 

Regards,

Math
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×