Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Space between words causes strange behaviour when rotating to the next word in orde #36

Open
rolero opened this issue Aug 20, 2017 · 1 comment

Comments

@rolero
Copy link

rolero commented Aug 20, 2017

When is jumps from "Webshop Owner!" to Designer! It first puts a line break between Webshop and Owner and then start the rotation. This causes a strange visual effect within Chrome.

Hello, Entrepreneur!, Webshop owner!, Designer!, Consultant!

<script type="text/javascript"> $(".rotate").textrotator({ animation: "flip", // You can pick the way it animates when rotating through words. Options are dissolve (default), fade, flip, flipUp, flipCube, flipCubeUp and spin. separator: ",", // If you don't want commas to be the separator, you can define a new separator (|, &, * etc.) by yourself using this field. speed: 2000 // How many milliseconds until the next word show. }); </script>
@NazarkinRoman
Copy link

You can try adding white-space: nowrap to your .rotate element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants