Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8284929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:17:22+00:00 2026-06-08T11:17:22+00:00

I have this flying text marquis that is rendering really choppy as it flies

  • 0

I have this flying text marquis that is rendering really choppy as it flies in (especially in FireFox) It seems to jump at certain intervals and i was wondering if i could make it run more smoothly by using easeIn or something similar. Any ideas on this?

I set up a jsfiddle for convenience.

HTML:

<div id="taglines">
    <h4>Your expert. Your partner.</h4>
</div>
<div class="container">
    <h3 id="fly1" class="flying-text active-text">Creative Solutions</h3>
    <h3 id="fly2" class="flying-text">Graphics</h3>
    <h3 id="fly3" class="flying-text">Sourcing</h3>
    <h3 id="fly4" class="flying-text">Distribution</h3>
    <h3 id="fly5" class="flying-text">Online Tools</h3>
    <h3 id="fly6" class="flying-text">Custom Branding</h3>
    <h3 id="fly7" class="flying-text">Personalized Support</h3>
</div>​

CSS:

.container{
    width:1000px;
    margin:0 0 0 -10px;
    color:#c3cd25;
}

#taglines{
    color:#000;
}

#taglines h4{
    font-size:20px;
}

.flying-text{
    margin-left:-100px;
    font-size:40px;
}

JavaScript:

$(document).ready(function(){
    $('.container .flying-text').css({opacity:0});
    $('.container .active-text').animate({opacity:1, marginLeft: "350px"}, 4000);

    var int = setInterval(changeText, 5000);    

    function changeText(){
        var $activeText = $(".container .active-text"); 
    var $nextText = $activeText.next(); 

        if($activeText.next().length == 0) $nextText = $('.container .flying-text:first');

    $activeText.animate({opacity:0}, 1000);
        $activeText.animate({marginLeft: "-100px"});    
        $nextText.css({opacity: 0}).addClass('active-text').animate({opacity:1, marginLeft: "350px"}, 4000, function(){ 
        $activeText.removeClass('active-text');                                           
        });
     }
 });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T11:17:24+00:00Added an answer on June 8, 2026 at 11:17 am

    It’s choppy because you’re using DOM-redraw-style animation. This is basically “every 16 milliseconds lets redraw as little of the page as we can figure out (this usually ends up begin a lot of it)”

    The alternative is a native, built-in, CSS3 method! This will be infinitely smoother and the code is much nicer than jQuery’s .animate() method. The downside is we have to worry about old browsers. That’s where Ben Barnett’s jQuery plugin comes in handy.

    http://playground.benbarnett.net/jquery-animate-enhanced/

    Here’s the snippet to put just above your other JS stuff:

    <script src="https://raw.github.com/benbarnett/jQuery-Animate-Enhanced/master/jquery.animate-enhanced.min.js" type="text/javascript"></script>

    This fantastic tool will take your existing code, analyze the browser, and use automatically convert it to a smoother, CSS3 animation when possible. This is exactly what you need. Simply include it in your page above the animation code.

    Other things to think about…

    If you’re willing to play about with REALLY scary experimental stuff (which isn’t as bad as it seems), I’d try adding this code to the CSS of the animating element:

    -webkit-transform-style: preserve-3d;

    That tells the browser, “Go grab the GPU, I’m doing some heavy lifting over here!” and then you’ve got the user’s GPU to animate it instead of the CPU. Always helpful if your page is in need of a little boost. Keep in mind, it can sometimes cause graphic tearing of the page, as it’s still really experimental webkit stuff. It should work in Safari 5+ and Chrome 10+.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this jquery sliding text animator. If you look at the example( http://blog.waiyanlin.net/2008/12/17/jquery-flying-text-with-fade-effect/
I have some homework that I was flying through until I got to this
I have some code like this, well here is the part that is most
I am trying to put this to the canvas text out Name Flying Lava
I have a text file that I parse each month and insert the data
In my game, I have airplanes that are flying past the screen from a
I have a UIView class that contains a custom UISlider . When this UIView
Say I have a text file formatted like this: 100 20 the birds are
Have this query: SELECT HOUR( DATE ) AS hr, COUNT( * ) AS cnt
Have this self-made slider: http://jsfiddle.net/wyc3P/4/ What it does: takes min and max values in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.