Cornholio JAVA Script

This is a tiny, simple, yet surprisingly useful scripts.  It offers one thing that I have no other way of offering:  to play an instant sound clip with no player !!  The sound is preloaded with the page, and when the button is clicked - plays instantly.  Click Here to download.

You can use this for short funny clips, or alternatively you could insert a long dissertation on some topic of interest - or even an hour-long clip of Rodney Dangerfield doing stand-up comedy.  It is for voice only - no music since the clip must be a low quality, 8000 kHz sampling, Mono, 16-bit file.  But even so - the quality is OK for voice.

The one limitation is the dumb look of the button - it will not allow an image file to be used - sorry !!  Anyway here is the sample:

NOTE: When testing - make sure to close all browsers every time you make a change - it memorizes the au sound even if you refresh !!! This will not play in FrontPage Preview, but will play from your hard drive and website !!

HTML Source
------------------
<applet code=CornHolio.class height=40 width=75>
<param name=text value="Doh!"> - replace with your own
<param name=sound value="doh.au"> - replace with your own
</applet>

To create your own au file, use CoolEdit and set it to: 8000 kHz sampling, Mono, 16-bit