1

I have coded a slider to my project but it fails on chrome and firefox5. Slider has a info bar and if page is in inactive tab, it queues the animation of infobar and when i return to the my page it repeats animation n times.

How can i fix that issue ? :(

I try: setTimeout but it couses a new bug that infobar never seems :S

The test link of my project is here : http://demo.cihanuygun.com/polo/

Cihan Uygun
  • 2,128
  • 1
  • 16
  • 26

1 Answers1

0

See this answer about how to detect the window losing and gaining focus and in your slidebox() function, don't queue up an animation if the window does not have focus.

Community
  • 1
  • 1
nwellcome
  • 2,279
  • 15
  • 23
  • thank you according to your tip i have solved this issue with this link : http://stackoverflow.com/questions/1408699/using-jquery-to-bind-focus-and-blur-functions-for-window-doesnt-work-in-i – Cihan Uygun Jul 14 '11 at 21:06