View Full Version : Small Request for Audio button & code.

04-21-2008, 02:23 PM
Hey guys! I need a small play/pause button.
I want the button to be no bigger than 9.53 in height.

Then; I want, when the play button is pressed, the music to play and switch to a pause button. The design spesification is to be black and have a curved design with a sort of dark grey like on this: http://www.raisingaimee.co.uk/captivate/cstopstart/pp9.png.

Please can you also code it, leave the audio src blank, I'll fill it in.

If you do do this for me, I will be greatfull and, if you wish, to have your website on my 'Credits' page of my site :)

04-21-2008, 02:54 PM

04-21-2008, 03:02 PM
Is there anything that is non-flash and quite small?

Thanks anyway VIPStephan. :)

04-21-2008, 04:53 PM
I think there are your options:
1) Embed the audio into the page itself and use Javascript to control it
2) Flash to control it
3) some other format player which won't allow you much customization (windows media, quicktime, etc)

Flash is the best option. Embedding an audio file with javascript is clunky. There is one example I found that does something close: http://cyber-web.biz/javascript/downloads/website%20background%20music/website%20background%20music.php
Just without the on/off switch. I don't even know if JS can do anything with audio that allows a pause.

04-21-2008, 05:47 PM
K Thanks