sortable <div>'s

sortable <div>'s


Hello All,
I am at the moment working on sortable <div>'s, that's because the
stuff I want to be sortable is between loads of <tr> <table>'s and
such, and it is 2 times. 1 for the title and one for the block itself.
So to make it easy for me I wanted to to some <div>'s around it.
I already included all the stuff needed and made some #sortable
thingie for it, but it still doesn't work.
This is the code:
<script type="text/javascript" src="/skins/effect/
jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/skins/effect/jquery-
ui-1.7.1.custom.min.js"></script>
<script type="text/javascript" src="/skins/effect/jquery-
cookie.js"></script>
<style type="text/css">
#sortable { }
#sortable div { }
</style>
<script type="text/javascript">
$(function() {
    $("#sortable").sortable();
    $("#sortable").disableSelection();
});
</script>
And for the rest I use it with:
<div id="sortable">here all that stuff</div>
But that just doesn't work.
What am I doing wrong?
Kind regards,
Xanland.
(P.S.: I try to let it work on this page, and then that 4 blocks on
the right -> http://www.cyberweekend.nl/home/)
































    • Topic Participants

    • home