Example 3
Here we have multiple graphics calling different files. Clicking on one button will "turn off" the others.
Example:
Rippen |
Lost |
|||
Elektra |
Night |
|||
Fire |
Don't Do Christmas |
|||
Graduation. |
Onya |
|||
Hated |
Red Wolf |
|||
I Don't Know |
Rippen |
Source Code
The following line should go between the opening <HEAD> and closeing </HEAD> tags of your page:
<script src="wimpy_button_bridge.js" type="text/javascript"></script>
<script language="javascript">
// Here we are over-writing the variables locally to use the smaller buttons.
wimpyButtonImagePlay = "b_play_small.png";
wimpyButtonImagePause = "b_pause_small.png";
</script>
And this goes anywhere in the <BODY>
<img src="b_play_small.png" onclick="wimpyButtonPlayPause('example.mp3')">
Wimpy Button Documentation
Copyright ©2002-2010 Plaino LLC. All rights reserved.
Use of this website signifies your agreement to the Terms of Use.