Hi all,
I'm trying to use the UI sortables plugin on a div which contains other
divs. These divs can be re-ordered by drag and drop, so I thought I'd
use the sortable plugin but I'm having trouble - am I missing something
obvious?
Script:
<script type="text/javascript">
<!--
$(document).ready(function() {
$("#newslettercontent").sortable({
"items": "> div"
});
});
-->
</script>
HTML:
<div id="newslettercontent">
<div id="div1">
1
</div>
<div id="div2">
2
</div>
<div id="div3">
3
</div>
<div id="div4">
4
</div>
<div id="div5">
5
</div>
<div id="div6">
6
</div>
<div id="div7">
7
</div>
</div>
Regards,
Michael Price
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" 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/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---