View Single Post
Old 09-16-2005, 01:02 AM   PM User | #210
SS2
New to the CF scene

 
Join Date: Sep 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
SS2 is an unknown quantity at this point
Question

Hello,
I tried the code you gave me but it still wouldn't work. Maybe I'm Puting it in the wrong place, I don't know. So I thought I'd try this one
Here is my page's view source......WWW.tekcities.com/ss_karaoke/index.html.........................
<HTML><HEAD><TITLE>Listen To A Demo</TITLE>
<META content="MSHTML 6.00.2900.2722" name=GENERATOR></HEAD>
<BODY text=#000000 link=#ffd700 bgColor=#000000 background=17musBar.gif backgroundAttachment="fixed" marginLeft="0" marginTop="0">
<P></P>
<P></P>
<H1 align=center><FONT color=#ffa500 size=7>Welcome To</FONT></H1>
<P align=center><FONT face=Arial color=#ffa500 size=7>Karaoke On The Road</FONT></P>
<P align=center><FONT face="Lucida Console" color=#ffa500 size=2><FONT size=5>KJ</FONT>: <FONT size=4>Robbie Southgate</FONT></FONT></P>
<P align=center><FONT face=Arial color=#ffa500 size=7></FONT> </P>
<P align=center><IMG src="http://tekcities.com/ss_karaoke/1005177899.jpg"></P>
<P align=left> </P>
<P align=left> </P>
<P align=left> <A href="http://www.tekcities.com/ss_karaoke/index.html"><IMG src="http://tekcities.com/ss_karaoke/button823090.jpg"></A></P>
<P align=left>
</img></img></img></img> <IMG src="http://www.tekcities.com/ss_karaoke/button270819.jpg"></P>
<P align=left> <IMG src="http://tekcities.com/ss_karaoke/button642326.jpg"></P>
<P align=left> <IMG src="http://tekcities.com/ss_karaoke/button447073.jpg"></P>
<P align=left> <IMG src="http://tekcities.com/ss_karaoke/button213280.jpg"></P>
<P align=left> </P>
<P align=left> </P>
<P align=left> </P>
<P align=left> </P>
<P align=left> </P>
<P align=left> </P>
<P align=left> </P>
<P align=left> </P>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script type="text/javascript"><!--
function song(){
document.getElementById('music1').innerHTML="<embed type='application/x-mplayer2' id='music2' pluginspage='http://www.microsoft.com/Windows/MediaPlayer/' src='"+document.getElementById('cancion').value+"' name='MediaPlayer1' width='300' height='75' controltype='2' showcontrols='1' showstatusbar='1' AutoStart='true'></embed>";
}
//-->
</script>
</head>
<div id="jukebox">JUKEBOX<br><br>
<select id="cancion" onchange="song()" size="1">
<option value="none">::::::::::::: Choose Your Song Here :::::::::::::</option>
<option value="http://urltosong1.mp3">Song 1</option>
<option value="http://urltosong2.mp3">Song 2</option>
<option value="http://urltosong3.mp3">Song 3</option>
<option value="http://urltosong4.mp3">Song 4</option>
<option value="http://urltosong5.mp3">Song 5</option>
<option value="http://urltosong6.mp3">Song 6</option>
<option value="http://urltosong7.mp3">Song 7</option>
<option value="http://urltosong8.mp3">Song 8</option>
<option value="http://urltosong9.mp3">Song 9</option>
<option value="http://urltosong10.mp3">Song 10</option>
</select><br>
<span id="music1"><embed type="application/x-mplayer2" id="music1"
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
src=""
name="MediaPlayer1"
width="300"
height="70"
controltype="2"
showcontrols="1"
showstatusbar="1"
AutoStart="0">
</embed></span>
</div>
</body>
</html>..................................
Can you please show me how this code intergrats with the buttons I already have on my page so they can be clicked and the song will play?
I would so much appericate it, I have been trying to get this done for about 2 months now
SS2 is offline