Can let the button make a sound script, this is also available without making a flash button, the feeling I tried is not bad.
Production Method:
1, new file: Dynamicaudiobutton.js, code:
// Customize Dynamic Audio Link Custom Dynamic Sound Link
Function Dynamicaudiolink () {
Open ("http://it365cn.com/")
}
// Customize Dynamic Audio Mouse Over Color Custom Dynamic Sound Mouseover Color
Function audiover () {
Document.audio.Button.Style.Background = "# 999999"
Document.Audio.Button.Style.color = "White"
}
// Customize Dynamic Audio Mouse Down Color Custom Dynamic Sound MOSEDOWN Color
Function audiodown () {
Document.Audio.Button.Style.color = "# cccccc"
}
// Customize Dynamic Audio Mouse Off Color Custom Dynamic Sound Mouseoff Color
Function audioout () {
Document.Audio.Button.Style.Background = "# 666666"
Document.Audio.Button.Style.color = "# fffff"
}
// Customize Dynamic Audio Sound Custom Dynamic Sound
Function PlayHome ()
{
Document.all.Sound.src = "Bleep.wav";
}
Document.write ('
// Customize Button Style Custom Button Style
Document.write ('