Results 1 to 2 of 2

Thread: HELP adding sound to interactive button

  1. #1
    Join Date
    Aug 2005
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default HELP adding sound to interactive button

    ok im trying to use this script "JavaScript Sound effect"
    i have put the head tag in place and im trying to link it to my interactive button using frontpage. code is this for the interactive button:

    <img border="0" id="img1" src="button9.jpg" height="20" width="100" alt="Home" fp-style="fp-btn: Border Bottom 3" fp-title="Home" onmouseover="FP_swapImg(1,0,/*id*/'img1',/*url*/'buttonA.jpg')" onmouseout="FP_swapImg(0,0,/*id*/'img1',/*url*/'button9.jpg')" onmousedown="FP_swapImg(1,0,/*id*/'img1',/*url*/'buttonB.jpg')" onmouseup="FP_swapImg(0,0,/*id*/'img1',/*url*/'buttonA.jpg')">

    where exactly do i put this tag?

    <a href="#" onMouseover="playsound(soundfile)">Example 1</a>

    idependently it works fine as it should but i know i have to re-write that tag and insert it to the interactive button code but im not sure how. and can you have more than one onmouseover event? anyhelp?

  2. #2
    Join Date
    Aug 2005
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I have figured this problem out thanks anyway..!

Bookmarks

Posting Permissions

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