i have a div of a splash screen for a site i'm building.
<div id="preloader" class="animated zoomOut">
<div class="loader">
<img src="assets/images/preloader-logo.png" alt="oscar pro logo"/>
</div>
</div>
im useing animate css to animate its zoomout, the problem is that after its zooms out it gets full width and height and i cant interact with the site.
i tryed to use jquery to set its display to none but i cant seem to figure it out...
$('preloader').one("animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd", function(){
$(this).css('display', 'none');
});
if i change the function to an alert it fires when the page loads
any help?