CMS Development

Janette
Participant

pluging JS scramble letters

Hi Good Morning 

 

In my L.P (https://www.inbest.cloud/desarrollo-en-la-nube) in my title "QUÉ ES LA NUBE" has been added a plugin JS this because mi title has an effect write and I need this effect to be repeated consecutively. But after a while the letters begin to stir.

And I don´t know why happend this....

 

Could you please help me to know why happen this...

I add a screenshot about it.Screenshot_20180802-091528.png

 

I remain to your comments.

Regards 

0 Upvotes
3 Replies 3
tjoyce
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

pluging JS scramble letters

I suspect it's related to background tabs having js throttled and painting and redrawing getting lower priorities when your tab or even section isn't in view on certain browsers. Here's an article related to what chrome is doing.

https://www.computerworld.com/article/3180754/web-browsers/chrome-makes-power-move-suppresses-backgr...

 


If this answer helped, please, mark as solved 😄


tim@belch.io | forms.belch.io | Design your own Beautiful HubSpot Forms; No coding necessary.

 

Drop by and say Hi to me on slack.

0 Upvotes
Janette
Participant

pluging JS scramble letters

Hi @tjoyce

I don´t really understand the article. I have to modify something?

I  remain to your comments.

Regards

tjoyce
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

pluging JS scramble letters

Hi @Janette - There isn't really a whole lot you can do to control how the browser behaves related to this issue, however, you can help it out a bit by terminating your script when the browser tab is inactive and then run the script again when the browser tab is active - https://stackoverflow.com/questions/1760250/how-to-tell-if-browser-tab-is-active

0 Upvotes