Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 25, 2012, 07:24:02 AM

Pages: [1]   Go Down
  Print  
Author Topic: How can I do that using html?  (Read 932 times)
jiwngee
Pong! (the videogame) Master
*****
Offline Offline

Posts: 26


WWW
« on: December 07, 2011, 01:10:41 AM »

I used checkboxes to list the audio files. I want to select one or more of the audio files by ticking in checkbox and play those selected using a button. How can I do that using html?

I see that many music sites use this functionality, but not sure how to code this using html? Can someone help?
Logged

lillianabe
Intergalactic Cowboy
*****
Offline Offline

Posts: 69


WWW
« Reply #1 on: April 23, 2012, 04:00:45 AM »

first you need to group all those check box in one group or need to use check box list control which allow you to add as many check box as you wish and can operate for loop for individual and enable multi selection,. Now on the function of play button, create temporary  array which contains path to those files and use that array as play list.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to: