Original Usenet thread from alt.ascii-art.animation, started 17 Aug 1998.
I've got the load sound
alt.ascii-art.animation
· 1 message · 17 Aug 1998
I figured out a script to make the sound function work!
***(copywrite 98 by Matthew Mazurek All rights reserved)***
<HTML>
<HEAD>
<TITLE>your title here</TITLE>
<script language="JavaScript">
function LoadFuncs() {
playSound()
tick()}
</script>
<SCRIPT LANGUAGE=JavaScript>
function playSound(){
document.sound1.play(false, 'snake.wav');
}
</SCRIPT>
</HEAD>
<body bgcolor="#FFF6E9" text="#800000" link="#008000" Alink="#0000FF
Vlink="#008080"><center>
<EMBED SRC="snake.wav" autostart=false HIDDEN=TRUE NAME="sound1"
MASTERSOUND>
***(end of copywrite)***
<script language="JavaScript">
<!--//
var max=0;
function tlist(){ max=tlist.arguments.length;
for(i=0;i<max;i++) this[i]=tlist.arguments[i];
}
tl = new tlist(
***(Do not copy my art and say it is your own. Hey, it is not fair to
me.)***
" \r\n"+
" ,--------. \r\n"+
" / {*\\/*}' \\ \r\n"+
" / /=/.__./=\\ \\ \r\n"+
" / |='v-v' =| \\ \r\n"+
" ( |========| ) \r\n"+
" \\ |========| / \r\n"+
" \\ \\======/ / \r\n"+
" `.||====| .' \r\n"+
" ||====| | \r\n"+
" ||====| | \r\n"+
" ||====| | \r\n"+
" ||====| | \r\n"+
"!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n",
" \r\n"+
" ,--------. \r\n"+
" / {*\\/*}' \\ \r\n"+
" / /=/.__./=\\ \\\r\n"+
" / |='v-v' =| \\\r\n"+
" ( |========| )\r\n"+
" \\ |========| /\r\n"+
" \\ \\======/ /\r\n"+
" `.||====| .' \r\n"+
" ||====| | \r\n"+
" ||====| | \r\n"+
" ||====| | \r\n"+
" ||====| | \r\n"+
"!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n",
" \r\n"+
" ,--------. \r\n"+
" / {*\\/*}' \\ \r\n"+
" / /=/.__./=\\ \\ \r\n"+
" / |='v-v' =| \\ \r\n"+
" ( |========| ) \r\n"+
" \\ |========| / \r\n"+
" \\ \\======/ / \r\n"+
" `.||====| .' \r\n"+
" ||====| | \r\n"+
" ||====| | \r\n"+
" ||====| | \r\n"+
" ||====| | \r\n"+
"!!!!!!!!!!!!!!!!!!!!!!!!!!\r\n",
" \r\n"+
" ,--------. \r\n"+
" / {*\\/*}' \\ \r\n"+
" / /=/.__./=\\ \\ \r\n"+
" / |='v-v' =| \\ \r\n"+
" ( |========| ) \r\n"+
" \\ |========| / \r\n"+
" \\ \\======/ / \r\n"+
" `.||====| .' \r\n"+
" ||====| | \r\n"+
" ||====| | \r\n"+
" ||====| | \r\n"+
" ||====| | \r\n"+
"!!!!!!!!!!!!!!!!!!!!!!!!!!\r"
***(end of copywrite)***
);
var x=0;
function tick() {
document.f.t.value=tl[x];
x++; if(x==max) x=0;
//if(confirm('continue?'))
setTimeout("tick()",500);
}
//-->
</script>
<FORM NAME=f><TEXTAREA NAME=t ROWS=15 COLS=27>
</TEXTAREA><br>
***(copywrite 98 by Matthew Mazurek)***
<input type=button value="Make Snake Dance" onClick="LoadFuncs()"
</FORM>
<center>
</BODY>
</HTML>
***(end of copywrite)***
I was thinking that this would be realy good for lizard's piano recital
animation and you have my permition to use this script as long as you
include a link to my page:
http://www.geocities.com/SouthBeach/Port/2358
Lizard's animation Page:
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this thread.
These messages were posted publicly to the newsgroup
alt.ascii-art.animation
in 1998 and are mirrored here unchanged as part of the Historic Archives – only email addresses are masked.
The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can.
Are you one of the authors? Contact us to get your posts attributed, connected to your artist profile, or removed.
Report this message
Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.