By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,831 Members | 1,031 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,831 IT Pros & Developers. It's quick & easy.

Music Psedo-Jukebox

P: 1
Need a script to put several songs on a web page.

Song will have a description next to it and a button to play... if someone hits another button it should shut off other playing songs...etc.
Oct 31 '08 #1
Share this Question
Share on Google+
2 Replies


acoder
Expert Mod 15k+
P: 16,027
What have you got so far?
Oct 31 '08 #2

rnd me
Expert 100+
P: 427
you can do it without javascript:

Expand|Select|Wrap|Line Numbers
  1.  
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Untitled Document</title>
  7. </head>
  8.  
  9. <body>
  10.  
  11.  
  12.  
  13.  
  14. <iframe name='iframe1'  id='iframe1' src=''  frameborder='0' width="59%" height="9" >your browser cannot display inline frames</iframe>    
  15.  
  16. <table id="ff1">
  17.   <tbody>
  18.     <tr>
  19.       <td>Intro</td>
  20.       <td><a href="http://www.archive.org/download/Gomez1999-10-01/gomez1999-10-01d1t01_64kb.mp3" target="iframe1">211 KB</a></td>
  21.     </tr>
  22.     <tr>
  23.       <td>Get MySelf Arrested</td>
  24.       <td><a href="http://www.archive.org/download/Gomez1999-10-01/gomez1999-10-01d1t02_64kb.mp3" target="iframe1">2.4 MB</a></td>
  25.     </tr>
  26.     <tr>
  27.       <td>Hangover Girl</td>
  28.       <td><a href="http://www.archive.org/download/Gomez1999-10-01/gomez1999-10-01d1t03_64kb.mp3" target="iframe1">2.4 MB</a></td>
  29.     </tr>
  30.     <tr>
  31.       <td>Free To Run</td>
  32.       <td><a href="http://www.archive.org/download/Gomez1999-10-01/gomez1999-10-01d1t04_64kb.mp3" target="iframe1">3.6 MB</a></td>
  33.     </tr>
  34.     <tr>
  35.       <td>Las Vegas Dealer</td>
  36.       <td><a href="http://www.archive.org/download/Gomez1999-10-01/gomez1999-10-01d1t05_64kb.mp3" target="iframe1">2.4 MB</a></td>
  37.     </tr>
  38.     <tr>
  39.       <td>Here Comes The Breeze</td>
  40.       <td><a href="http://www.archive.org/download/Gomez1999-10-01/gomez1999-10-01d1t06_64kb.mp3" target="iframe1">3.9 MB</a></td>
  41.     </tr>
  42.     <tr>
  43.       <td>Rhythm &amp; Blues Alibi</td>
  44.       <td><a href="http://www.archive.org/download/Gomez1999-10-01/gomez1999-10-01d1t07_64kb.mp3" target="iframe1">3.0 MB</a></td>
  45.     </tr>
  46.     <tr>
  47.       <td>Love Is Better Than A Warm Trombone</td>
  48.       <td><a href="http://www.archive.org/download/Gomez1999-10-01/gomez1999-10-01d1t08_64kb.mp3" target="iframe1">2.2 MB</a></td>
  49.     </tr>
  50.     <tr>
  51.       <td>We Haven't Turned Around</td>
  52.       <td><a href="http://www.archive.org/download/Gomez1999-10-01/gomez1999-10-01d2t01_64kb.mp3" target="iframe1">3.4 MB</a></td>
  53.     </tr>
  54.     <tr>
  55.       <td>California</td>
  56.       <td><a href="http://www.archive.org/download/Gomez1999-10-01/gomez1999-10-01d2t02_64kb.mp3" target="iframe1">5.4 MB</a></td>
  57.     </tr>
  58.     <tr>
  59.       <td>Whippin Picadilly</td>
  60.       <td><a href="http://www.archive.org/download/Gomez1999-10-01/gomez1999-10-01d2t03_64kb.mp3" target="iframe1">2.7 MB</a></td>
  61.     </tr>
  62.     <tr>
  63.       <td>78 Stone Wobble</td>
  64.       <td><a href="http://www.archive.org/download/Gomez1999-10-01/gomez1999-10-01d2t04_64kb.mp3" target="iframe1">4.6 MB</a></td>
  65.     </tr>
  66.     <tr>
  67.       <td>Devil Will Ride</td>
  68.       <td><a href="http://www.archive.org/download/Gomez1999-10-01/gomez1999-10-01d2t05_64kb.mp3" target="iframe1">4.3 MB</a></td>
  69.     </tr>
  70.   </tbody>
  71. </table>
  72. </body>
  73. </html>
  74.  
  75.  
Oct 31 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.