Need code to make songs play in sequence

  • jonsan007
  • Born
  • Born
  • jonsan007
  • Posts: 1

Post 3+ Months Ago

i thave this scripte

Code: [ Select ]
<HTML> <HEAD> <TITLE>Page 1</TITLE> <SCRIPT LANGUAGE="Javascript"> function setLink1() { if (form.linkBox.checked) { document.form.action="http://www.moderntamil.com/aa.m3u"; } else { document.form.action="defaultpage.htm"; } } </SCRIPT> </HEAD> <BODY> <table> <tr> <td> <form name="form" action="defaultpage.htm"> <input type="checkbox" name="linkBox" onClick="setLink1()">
    <SCRIPT LANGUAGE="Javascript"> function setLink() { if (form.linkBox1.checked) { document.form.action="http://www.moderntamil.com/aa1.m3u"; } else { document.form.action="defaultpage.htm"; } } </SCRIPT> <input type="checkbox" name="linkBox1" onClick="setLink()">
        <input type="submit" name="submit" value="submit">
   </form> </td> </tr> </table>
  1. <HTML> <HEAD> <TITLE>Page 1</TITLE> <SCRIPT LANGUAGE="Javascript"> function setLink1() { if (form.linkBox.checked) { document.form.action="http://www.moderntamil.com/aa.m3u"; } else { document.form.action="defaultpage.htm"; } } </SCRIPT> </HEAD> <BODY> <table> <tr> <td> <form name="form" action="defaultpage.htm"> <input type="checkbox" name="linkBox" onClick="setLink1()">
  2.     <SCRIPT LANGUAGE="Javascript"> function setLink() { if (form.linkBox1.checked) { document.form.action="http://www.moderntamil.com/aa1.m3u"; } else { document.form.action="defaultpage.htm"; } } </SCRIPT> <input type="checkbox" name="linkBox1" onClick="setLink()">
  3.         <input type="submit" name="submit" value="submit">
  4.    </form> </td> </tr> </table>


if i select two songs for play it is playing the last one then how can i play two songs one after the other please say
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Vladdrac
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2136
  • Loc: Louisville, Ky

Post 3+ Months Ago

well i am just learning programing, but I haven't seen anyone reply to this in hours so I will try. I have very little knowledge of any functions in Javascript.

You should have both of your functions in the '<head>' footer. But it probably still works.

perhaps you can create a playlist that has both of the songs in it like aa2.m3u, and create a conditional that looks to see if they are both checked and if so opens up the aa2 playlist, which should have both songs in their order.

I am sure there is a better way but it might work.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 96 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.