Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/04/2002, 03:57
El chacal
 
Fecha de Ingreso: marzo-2002
Mensajes: 257
Antigüedad: 22 años, 1 mes
Puntos: 0
Re: script especial??

¡ Hola elunicoNEO !

Aqui hay uno bastante clasico, pero muy funcional, y creo te servira más alla de tus necesidades.

Código:
 <html>
<head>
</head>
<BODY>
<?php include "../../../head.php"; ?>
<p>
This script will allow you to setup a Random MIDI Jukebox.
<p>
<!-- INSTALLATION OF AUTOMIDI -->
<!-- Step 1 add the script below to your page -->
<!-- Step 2 edit the midi names to use your own files -->

<SCRIPT LANGUAGE="JavaScript">
// Designed by Ray Rarey ([email protected]) //
// On February 6th, 1997 //
// You must ask before you use this script //

song = new Array(10);
title = new Array(10);
song[0] ='everlong.mid'
song[1] ='niceshot.mid'
song[2] ='life.mid'
song[3] ='polly.mid'
song[4] ='fly.mid'
song[5] ='damnit.mid'
song[6] ='short.mid'
song[7] ='anarchy.mid'
song[8] ='mable.mid'
song[9] = 'sellout.mid'
song[10] = 'govt.mid'

title[0] = 'Everlong'
title[1] = 'Hey Man Nice Shot'
title[2] = 'Meaning Of Life'
title[3] = 'Polly'
title[4] = 'Fly'
title[5] = 'Damn It'
title[6] = "Short On Ideas"
title[7] = 'Anarchy in the UK'
title[8] = 'Mable'
title[9] = "Sellout"
title[10] = 'You are the Government'

index = Math.floor(Math.random() * song.length);document.write("<DL>\n");
document.write("<EMBED SRC="+song[index]+" width=200 height=55 autostart=true loop=infinite BGCOLOR='#000000'");
document.write(' TEXT="#FFFFFF">');
document.write("<BR>");
document.write("The randomly selected song you are listening to is: ");
document.write("<font size=4 color=red>");
document.write(title[index]);
document.write("</font>")
document.write("</DL>\n");
</SCRIPT><P>
</body>
</html>
¡ Servido !

¡Suerte!