Alexjo Posted June 6, 2013 Share Posted June 6, 2013 I am a new member and an avid programmer. I noticed the "Have you played Atari today?" button realized it wasn't taking full advantage of javascript. I'm not sure who host / maintains the website but I do have a suggestion for them. You could use javascript to play the Atari jingle in the current page. Heres how I'd do it: This script will make a sound object that can be played. <script> var sound = new Audio("http://atariage.com/audio/atarijingle.wav"); </script> Then in the webpage replace the href location "atariage.com/audio/atarijingle.wav" with "javascript:sound.play()". That will play the sound object created by the script above. ... <a href="javascript:sound.play()" class="masttext">Have You Played Atari Today?</a> ... Happy coding! -Alex Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.