Re: onClick

by David Kendall <david(at)homepagesplus.com>

 Date:  Thu, 25 Mar 2004 23:41:10 -0600
 To:  HWG Techniques <hwg-techniques(at)hwg.org>
 References:  appliedlanguage
  todo: View Thread, Original
Almost forgot, I also want the image to change on the click.  
Somethign I know how to do, but, if I can get the image change 
*and* the .wav file at the same time ...

(What the project is, is a "welcome" page.  I start with the image of 
a closed door.  When the user click on it, the door image changes to 
an open door (same size image) and the sound of bells tinkling (like 
you find in small stores) plays.

Date sent:      	Thu, 25 Mar 2004 23:15:57 -0600
From:           	David Kendall 
<david(at)homepagesplus.com>
Subject:        	onClick
To:             	HWG Techniques <hwg-
techniques(at)hwg.org>
Send reply to:  	david(at)homepagesplus.com
Organization:   	Home Pages Plus!

> I'm suffering from brain freeze (and the tempurature here is 
> warming up!)
> 
> What I want is, when someone clicks on an image I have on the 
> page, for a short (~4 secs) .wav file to play while (or before) the
> user is being taken to another page.
> 
> I know the command for this on the top of my head (I'm certain it
> involves "onClick", at least for the .wav part), I'll kick myself when
> I read the solution from the group, but the more I think about it, the
> less forthcoming it is.  What is the exact code I seek?  (you can just
> make up filenames for the image, .wav, and URL)
> 
> 
> --
> David Kendall - president / chief web designer
> Home Pages Plus! 
> (204) 254-3649
> david(at)homepagesplus.com
> www.homepagesplus.com
> 
> 

 
--
David Kendall - david(at)homepagesplus.com
http://www.homepagesplus.com/david

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.