Its my first post in stackoverflow, so please let me know if something is wrong so I can fix it, thanks.
I have the following code in my website...
<table id="fruits">
<tbody>
<tr class="file" id="tr-file">
<td class="name" id="id1"><a class="thickbox" href="FILE-LINK">NAME-OF-FILE1</a></td>
<td class="name" id="id2"><a class="thickbox" href="FILE-LINK">NAME-OF-FILE2</a></td>
<td class="name" id="id3"><a class="thickbox" href="FILE-LINK">NAME-OF-FILE3</a></td>
<td class="name" id="id4"><a class="thickbox" href="FILE-LINK">NAME-OF-FILE4</a></td>
</tr>
</tbody>
</table>
I know I can zip the files in cpanel or upload the files zipped and put it as a link in the page...
But
I want the visitor to choose which files they want to download, no force them to download all 4 files. So I searched in Google and found a useful post. (THE PROBLEM IS THAT I JUST KNOW THE BASIC OF HTML, I dont understand what he wrote)
I want the visitor to select multiples files from <table id="fruits">
.
Example: http://jsfiddle.net/dn3L7/
<table id="fruits">
<tbody>
<tr class="file" id="tr-file">
<input type"checkbox" id="idc1"> <td class="name" id="id1"><a class="thickbox" href="FILE-LINK">NAME-OF-FILE1</a></td>
<input type"checkbox" id="idc2"> <td class="name" id="id2"><a class="thickbox" href="FILE-LINK">NAME-OF-FILE2</a></td>
<input type"checkbox" id="idc3"> <td class="name" id="id3"><a class="thickbox" href="FILE-LINK">NAME-OF-FILE3</a></td>
<input type"checkbox" id="idc4"> <input type"checkbox" id=""idc1> <td class="name" id="id4"><a class="thickbox" href="FILE-LINK">NAME-OF-FILE4</a></td>
</tr>
</tbody>
</table>
When they finish checking the files they will be able to click a button to download the zip file.