all visitors who visit my page would load a style.css
which contains this colorbox line:
#cboxLoadingGraphic{background:url(/images/animation.gif) no-repeat center center}
this animation image should show only when clicking a certain button on the page, as a loading animation displayed while loading the colorbox modal window.
yet, I've noticed that there are various visitors who automatically preload animation.gif
, even though they didn't click that button (and didn't open the modal window).
But since this is happening with about 1/3 of visitors, with different browesers, I can't understand what's the governing rule, what makes one user preload it, and another user load it only when and if he clicks on the said button?