Song 1 volume = 0.3
Song 1 volume = 0.5
Song 1 volume = 1
Song 1 volume not set
- <!-- Wimpy Button Styles
- NOTE: These <link> references should go into the <head>,
- they are located here so they show up on the page.
- -->
- <link href="../wimpy.buttons/WimpyButton_7779840.css" rel="stylesheet" type="text/css">
-
- <!-- Wimpy Button Instance -->
- <p><span id="myButtonElementID" class="WimpyButton_7779840" data-wimpybutton="../song1.mp3" data-volume="0.3"></span> <br>Song 1 volume = 0.3</p>
- <p><span id="myButtonElementID" class="WimpyButton_7779840" data-wimpybutton="../song1.mp3" data-volume="0.5"></span> <br>Song 1 volume = 0.5</p>
- <p><span id="myButtonElementID" class="WimpyButton_7779840" data-wimpybutton="../song1.mp3" data-volume="1"></span> <br>Song 1 volume = 1</p>
- <p><span id="myButtonElementID" class="WimpyButton_7779840" data-wimpybutton="../song1.mp3"></span> <br>Song 1 volume not set</p>
-
- <!-- Use javascript to adjust button volume -->
- <p><button onclick="wimpyButton.setVolume(0.3)">Set volume to 0.3</button></p>
- <p><button onclick="wimpyButton.setVolume(0.5)">Set volume to 0.5</button></p>
- <p><button onclick="wimpyButton.setVolume(1)">Set volume to 1</button></p>