If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 1 of 1
  1. #1
    Junior Member
    Join Date
    Nov 2002
    Member #
    Posted here because I saw many asking for it. Sorry if this should be somewhere else.

    <script language="javascript" type="text/javascript">
    function play(soundobj)
    var thissound = eval(soundobj);

    function stop(soundobj)
    var thissound = eval(soundobj);

    <object name="lastdance" type="application/x-mplayer2" width="0" height="0" data="lastdance.mp3">
    <param name="filename" value="lastdance.mp3" />
    <param name="autostart" value="false" />

    <a href="#" onmouseover="play('lastdance')">Play Sound</a>

    <a href="#" onmouseover="stop('lastdance')">Stop Sound</a>


    Embed the JavaScript in the body of your page. Embed the object also within the body, as many sounds as you want, be sure and label them accordingly within the name attribute as well as when you call the functions.

    Will work with any kind of sound file that Windows Media Player supports. Unfortunately, will only work if the user has Windows Media Player, but should be Cross-browser and XHTML Transitional Compliant.

    Is there a problem? Let me know - Yahoo! IM: fremelica


Remove Ads

Posting Permissions

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

Search tags for this page

html mouse click sound

html onmouse outmouse click
javascript mouseout sound stoppen
mouse click sound html code
on mouse click play sound
url sound on mouseover
Click on a term to search for related topics.
All times are GMT -6. The time now is 05:02 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: