In the following script, would you guys please show me how to properly enter a setTimeout,
or delay, in order that "#info-box" fades in 3 seconds after "#bgAudio" starts playing?
Thanks
Code:<script> jQuery(function($) { $('#bgAudio').trigger('play').animate({volume: 1}, 6000); $('#bgAudio').on('playing', function() { $("#info-box").fadeIn(); }); $('#bgAudio').on('ended', function() { $("#info-box").fadeOut(); }); }); </script>



Reply With Quote

Bookmarks