logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > HTML and CSS
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 06-12-2012, 09:10 AM   #1
KLakko
 
Join Date: Jun 2012
Posts: 1
Default Need help with special volume button

Hi

I have a site and when you enter it music starts playing, it also has an off button. But what I would like to have is a button that says MUSIC OFF and when it's clicked it turns the volume up.

I have 2 music files; one with normal volume and one with 25% volume. My idea was to have both of them start playing (both on loop) but the one with normal volume muted and the MUSIC OFF button would unmute the normale volume file.

Anyone who has ideas on how to do this?
KLakko is offline   Reply With Quote
Old 06-12-2012, 11:32 AM   #2
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

You could do this using flash or HTML5 (<audio> tag )

Also there is a JQuery library for such a task..

http://jplayer.org/
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:33 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com