Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Audio() {
- var status = 1;
- if (status == 1)
- {
- document.getElementById('audiotag').play();
- window.document.images[0].src = "images/play.png";
- status = 0;
- }
- else
- {
- document.getElementById('audiotag').pause();
- window.document.images[0].src = "images/logo_small.png";
- status = 1;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement