Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 27th, 2003, 07:42 PM
Authorized User
 
Join Date: Oct 2003
Location: , , .
Posts: 96
Thanks: 0
Thanked 0 Times in 0 Posts
Default Roll-over buttons with simple "click" sound?

I can do this easily with my Flash software, but I have one Web page that is strictly JavaScript and HTML code.

Currently, the buttons on this Web page are (static) made from the <img src="ImageName.gif"> and then an html tag to link it to another page. I would like to add a very simple "click" sound (it's a very small size .wav file) when the user rolls over the buttons.

I guess the buttons would first need to be roll over buttons with the .wav element attached.

Any help on this would be appreciated. If someone has something like this using JavaScript, that would be fine also.

Thx
Larry



__________________
Rudy
Reply With Quote
  #2 (permalink)  
Old December 29th, 2003, 07:29 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: , , .
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

larry,

I am sorry I don't know how to do this in anything but IE, but this link concerning the bgsound tag should help you.

http://javascript.internet.com/page-...ick-sound.html

I'm fairly sure there is a way to do this cross-browser, but I don't know it...

HTH

Snib

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to roll back file system operations jomet .NET Framework 2.0 2 February 2nd, 2008 05:42 AM
Compress (roll-up) table data jamez36 SQL Server 2000 1 July 4th, 2007 01:39 PM
stay on the new record - don't roll to next Sjackson Access 2 May 25th, 2005 09:25 AM
roll over buttons doll deluxe Dreamweaver (all versions) 1 February 26th, 2005 04:49 AM
Getting rid of click sound for refreshing frame cordel PHP How-To 4 March 29th, 2004 09:00 AM



All times are GMT -4. The time now is 12:36 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.