Hello,
I am working on a calendar which will have list elements in it. I am
having a problem making the list elements sortable...here is a sample
of the HTML:
<tr>
<td id="november19" class="CalendarDay"><p>19</p></td>
<td id="november20" class="CalendarDay"><p>20</p></td>
<td id="november21" class="CalendarDay"><p>21</p></td>
<td id="november22" class="CalendarDay"><p>22</p></td>
<td id="november23" class="CalendarDay"><p>23</p>
<ul id="list1">
<li><a href="#">Event1</a></li>
<li><a href="#">Event2</a></li>
</ul>
</td>
<td id="november24" class="CalendarDay"><p>24</p>
<ul id="list2">
<li id="article5" class="sortable"><a
href="#">Event4</a></li>
</ul>
</td>
<td id="november25" class="CalendarDay"><p>25</p></td>
</tr>
If I just use the id's in the 'ul' tag, I have no problem making things
sortable, but I want to be able to drag list elements to empty table
cells. For example, I want to drag Event 4 into the cell for November
20th...
Any suggestions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---