[thelist] play sound onclick

Anthony Baratta Anthony at Baratta.com
Sat Oct 28 00:47:51 CDT 2000


Barret A Monchka wrote:
> 
> When the link is set to # the sound plays fine, but when I change the link
> to <a href="link.htm" onClick="javascriptfunction()"></a> the sound does not
> play anymore.  Does anyone know how I can play the sound and load a url at
> the same time?

Have the sound function change the location.

onClick="javascriptfunction('newpage.html')"

function javascriptfunction(varNewPage) {
	....

	document.location.url = varNewpage;
}

I'm not completely sure of the above location line, check:

	http://developer.netscape.com/docs/manuals/enterprise/admnunix/index.htm

for complete info.

-- 
Anthony Baratta
President
KeyBoard Jockeys
                    South Park Speaks Version 3 is here!!!
                       http://www.baratta.com/southpark
                              Powered by Tsunami




More information about the thelist mailing list