🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.developers
Article #640

JavaScript JukeBox

#640
From: Joe
Date: Sun, 29 Dec 1996 00:00
134 lines
4448 bytes
Fred,

And on the 26th day it was refined by fire... testing,
and one tired d00d.... Any you to can experience the
ultimate in cutting edge NETSCAPE 3.+ Technology at:

http://www.soft-vision.com/josiah 

Drop your quarters in on the third page and, Rock & Roll
with Crescendo...........

You can not load the window off a page that will reload ......

To play undisturbed TRUE JuekBox music one right after the other
you can either come into the following as an index.html  or  a sub-
index.  Josiah's has an opening index.html, then java script takes
over.  pops up another *.html, then the following we are just adding
tonight.  

This opens the window and starts playing the first song on the list as 
the meta refresh swiftly loads the "menu.page" 

<!-- Joe Oliver -->
<!-- SOFTVision Concepts -->
<html>
<head>
<META HTTP-EQUIV="Keywords" CONTENT="Awards,Josiah's Home Page,A Scout,
Scouts, Sports, Games, Java, Javascript, school, kids, WWW, Internet,
Boy Scouts, Cub Scouts, Webelo, Leadership, Urban, Urban Kids, Urban
Scouting">
<meta http-equiv="refresh" content="3; url=index0.html"></a>
<title>
</title>
</head>
<body bgcolor=#000000">
<p align="left">
<SCRIPT LANGUAGE="javascript">
  <!--
window.open('1mid.html','music','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,copyhistory=0,width=240,height=350');
  //-->
</SCRIPT>
</p>
</body>
</html>

for brief ... i'll only include the first two html in the song sequence:

The window above calls this file:

<!-- Joe Oliver -->
<!-- SOFTVision Concepts -->
<html>
<head>
<meta http-equiv="refresh" content="120; url=2mid.html"></a>
<title></title>
</head>
<body bgcolor="#000000" Text="#FFF000" ALINK="#FFFFFF" VLINK="#000FFF">
<p></p><br>
<p align=left>
<font color="#FFF000">1. Do You Hear?</font><br>
<a href="2mid.html">2.</a> 1st Day Of Christmas<br>
<a href="3mid.html">3.</a> Little Drummer Boy<br>
<a href="4mid.html">4.</a> Oh Come All Ye Faithful<br>
<a href="5mid.html">5.</a> Halleluya<br>
<a href="6mid.html">6.</a> Upon The Midnight Clear<br>
<br>
Choose a song to play or
Close this window to shut
music off.<br>
</p>
<hr>
<embed src="1.mid" width=220 height=55 autostart=true
loop=true></embed><br>
Now Playing: Do You Hear What I Hear?
</body>
</html>

This as you can see holds the embeded midi... then the meta refresh
calls this
file --- meta is timed according to song length, or shorter if one is
impatient. (-:

<!-- Joe Oliver -->
<!-- SOFTVision Concepts -->
<html>
<head>
<meta http-equiv="refresh" content="55; url=3mid.html"></a>
<title></title>
</head>
<body bgcolor="#000000" Text="#FFF000" ALINK="#FFFFFF" VLINK="#000FFF>
<p></p><br>
<p align=left>
<a href="1mid.html">1.</a> Do You Hear?<br>
<font color="#FFF000">2. 1st Day Of Christmas</font><br>
<a href="3mid.html">3.</a> Little Drummer Boy<br>
<a href="4mid.html">4.</a> Oh Come All Ye Faithful<br>
<a href="5mid.html">5.</a> Halleluya<br>
<a href="6mid.html">6.</a> Upon The Midnight Clear<br>
<br>
Choose a song to play or
Close this window to shut
music off.<br>
</p>
<hr>
<embed src="2.mid" width=200 height=55 autostart=true
loop=true></embed><br>
Now Playing: 1st Day Of Christmas
</body>
</html>

And as stated you can do as many of these called and calling files, till
your
fingers cramp, if you choose. (-: 

And they will all play uninterupted by page changes... unless you want
to press
on a URLed number and play something diff.  This will only cause the
next inline
to play if you never touch the jukebox again.

To create a circle ... just have the last meta refresh in the sequence
call the
1st html file, in this case 1mid.html

Enjoy,  It's still (c) Copywrong by SOFTVision Concepts
http://www.soft-vision.com
                    All Rights Reversed.

(aka) Public Domain.

Best for a GREAT 1997 .... 

Joe
Technical Details
Message-ID: <32C6146A.678B@soft-vision.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bb05,771b44e4eb19808e,start
X-Google-Attributes: gid10bb05,public
From: Joe <svc@soft-vision.com>
Subject: JavaScript JukeBox
Date: 1996/12/29
Message-ID: <32C6146A.678B@soft-vision.com>
X-Deja-AN: 206543380
content-type: text/plain; charset=us-ascii
organization: SOFTVision Concepts - http://www.soft-vision.com
mime-version: 1.0
reply-to: svc@soft-vision.com
newsgroups: demon.ip.developers
x-mailer: Mozilla 3.0Gold (Win95; I)