Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
TRIPLESENSE REPLY

ScrambleTextPlugin Svg Text

Recommended Posts

Hi to all,
for a project  we need to use the ScrambleTextPlugin with a svg text but it does not work with Internet Explorer.
To get it work we changed innerHTML in TextContent, but I think you can get something better ;-)

Thank for your support
Jacopo

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

Link to comment
Share on other sites

Hi BITMAMA  :)

 

i think maybe something tricky like this can help you to deal with stupid IE :
var Ref = document.createElement("div"); 

TweenMax.to(Ref,3,{scrambleText:"I Hate IE :|",onUpdate:update}); 

function update(){
document.getElementById('scramble').textContent = Ref.innerHTML; 
}

See the Pen PwGVKQ by MAW (@MAW) on CodePen

  • Like 2
Link to comment
Share on other sites

I have updated the plugin to accommodate this - it's already working in that codepen. We'll put it into the next official push, but if you need the file sooner just let me know and I'll send it to you. 

  • Like 3
Link to comment
Share on other sites

Hi Jack,

thank you but I can't see it working in my codpen, which one do you refer to?

 

I would like to have it before the next release if possibile.

 

Thank you very much

Jacopo

Link to comment
Share on other sites

I think you just need to clear your cache to see it working in your codepen (or append “?r=5” or a random number to the end of the plugin URL to force the browser to get a fresh copy). Works great for me. 


 


I sent you an email with the updated version. 


  • Like 1
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.
×