I'm a bit tied up at the moment but try chaining the play trigger and audio fadein;And just change the class of the button from .play to .pause for it's initial state;Code:$('#bgAudio').trigger('play').animate({volume: 1}, 6000);Code:<button id="pButton" class="pause" onclick="play()"></button>



Reply With Quote


Bookmarks