I am trying to create a HTML table where a user can select a color and when dragged over a table cells or list the same color should be applied to those table cells, here is an example of how my table should look http://pekas.lbclients.info/SchedulesWorkManage.php ,
Here is another example http://jsfiddle.net/few5E/ using jquery, i want some thing similar to this but i want to add different colors to the table by selecting colors.
I am new to javascript so any help regarding this will be really helpfull.
Thanks in advance!