I have an image slider that slides automatically. Because I'm nice, I want to ensure that it doesn't continue to slide when the user has a different window/tab focussed.
What events fire when leaving a tab/window, and which fire when returning?
I have an image slider that slides automatically. Because I'm nice, I want to ensure that it doesn't continue to slide when the user has a different window/tab focussed.
What events fire when leaving a tab/window, and which fire when returning?
When leaving: blur When entering: focus