jQuery effect waits until browser tab clicked

Hello folks,

I am looking forward in implementing this nice effect in my webpage. Once you click the link below, the webpage will start loading, but if you work on different tab of your browser and comeback (the webpage will load in background and wait to show the jQuery effect) - [If the webpage already got loaded, please just refresh the page and go to other tab and comeback after a few seconds when the page loading is done.]

Here’s a sample website http://goo.gl/JSqYv4 - (Designer’s picture zoom-in effect, Header text slide down)

…and this is another: http://goo.gl/NV5tuO - (Portfolio items zoom-in)

I know this has done with jQuery but not sure how they keep the ‘effect waiting’ until visitor click on tab.

Any hints will be highly appreciated.

Thanks.

This may be due to a bug that occurs in animations due to requestAnimationFrame being used.
http://bugs.jquery.com/ticket/9381

I must say it’s a nice bug that causing the ‘waiting effect’ :slight_smile: However, I’ve seen that in Apple’s website also. the top navigation menu, they used to have a jump-in to place effect until you click the browser tab.