Results 1 to 3 of 3

Thread: sound-onmouseover

  1. #1
    gencoglu
    Guest

    sound-onmouseover

    Hello there
    I have two images..I want my first image to give me a"aa.wav"sound when the cursor is over..
    I want my second image to give me a"bb.wav"sound when the cursor is over..
    Thanks a lot..

  2. #2
    Addicted Member rinoaheartilly's Avatar
    Join Date
    Oct 2001
    Location
    Cymru
    Posts
    204

    Re: sound-onmouseover

    Can you do that with HTML? I know you can with flash. I'm having the same problem, I can't use flash, cos I have limited space on geocities



  3. #3
    Fanatic Member Psyrus's Avatar
    Join Date
    Jul 2000
    Location
    NJ
    Posts
    602
    This works with IE...It uses the Windows Media Player Active X control...

    <html>
    <head>
    <title>Sound Tester</title>

    <OBJECT ID="Sound" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95">
    <PARAM NAME = "FileName" VALUE = "click.wav">
    <PARAM NAME = "AutoStart" VALUE = "false">
    <PARAM NAME = "ShowControls" VALUE = "false">
    <PARAM NAME = "Loop" VALUE = "false">
    </OBJECT>

    <script>

    function PlaySound(){
    Sound.Play();
    }

    </script>

    </head>
    <body>
    <center>
    <img SRC = "myGif.gif" ONMOUSEOVER = "PlaySound();">
    </center>
    </body>
    </html>
    Chris

    VB 6.0 Calendar App Video Gamers Group
    Don't forget to rate people if they helped you.

Posting Permissions

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



Click Here to Expand Forum to Full Width