Jerky movements

Im trying to build by own ticketer, and its working really well, however it keeps jerking and flashing. Im not quite sure why its happening as it seems random. and its working on a decent spec PC so isnt the hardware issue. I have tried Chrome, IE 11 and Firefox all seem to have the same issue.

Ive put it on jsfiddle in the hope someone can advise me :-)

Any ideas whats causing the issue, or how to fix it?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tonelm54Author Commented:
Ive been playing with the JQuery UI animate function which seems to also have the same issue:-

Any ideas?
you need to play a bit with this :
    height: 200px;
    position: relative;
    overflow: hidden;

#ticketerInner {
    height: 200px;
    width: 512px;
    background-color: red;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    -moz-transition:  opacity 0.5s ease-out; 
       -o-transition: opacity 0.5s ease-out; 
  -webkit-transition: opacity 0.5s ease-out; 
      -ms-transition: opacity 0.5s ease-out; 

    -webkit-animation: ticketer 10s linear infinite;
    -moz-animation:    ticketer 10s linear infinite;

@-webkit-keyframes ticketer {
    0% { left: 0; }
    100% { left: -1024px; }
@-moz-keyframes ticketer {
    0% { left: 0; }
    100% { left: -1024px; }

Open in new window

greetings tonelm54, , the  setInterval( )   is not made to be an accurate timer needed for smooth video like animations.  There is a newer more accurate javascript timer called with   requestAnimationFrame( )  .  This is a much more recent addition to the javascript timing functions than  setinterval( ). You can use almost the same javascript repositioning calculations for the css left pixel change, but use the  requestAnimationFrame( )  , in place of the setInterval( ) arrangement. You can get information about using this on this web page -

If you need help with redoing your code to use this, you can ask.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.