Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder BabyJack's Avatar
    Join Date
    Apr 2008
    Location
    Somewhere.
    Posts
    602
    Thanks
    43
    Thanked 6 Times in 6 Posts

    Cool Small Request for Audio button & code.

    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/captiv...pstart/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
    Enlightenment in Coding
    Validate before Posting | Google is your friend for PC Problems | Make sure you have a doctype

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,703
    Thanks
    6
    Thanked 1,011 Times in 984 Posts

  • #3
    Regular Coder BabyJack's Avatar
    Join Date
    Apr 2008
    Location
    Somewhere.
    Posts
    602
    Thanks
    43
    Thanked 6 Times in 6 Posts
    Is there anything that is non-flash and quite small?

    Thanks anyway VIPStephan.
    Enlightenment in Coding
    Validate before Posting | Google is your friend for PC Problems | Make sure you have a doctype

  • #4
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    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/down...nd%20music.php
    Just without the on/off switch. I don't even know if JS can do anything with audio that allows a pause.

  • #5
    Regular Coder BabyJack's Avatar
    Join Date
    Apr 2008
    Location
    Somewhere.
    Posts
    602
    Thanks
    43
    Thanked 6 Times in 6 Posts
    K Thanks
    Enlightenment in Coding
    Validate before Posting | Google is your friend for PC Problems | Make sure you have a doctype


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •