$(function () { $("#sortable1, #sortable2, #sortable3").sortable().disableSelection(); var $tabs = $("#tabs").tabs(); var $tab_items = $("ul:first li", $tabs).droppable({ accept: ".connectedSortable li", hoverClass: "ui-state-hover", drop: function (event, ui) { var $item = $(this); var $list = $($item.find("a").attr("href")) .find(".connectedSortable3"); ui.draggable.hide("slow", function () { $tabs.tabs("option", "active", $tab_items.index($item)); $(this).appendTo($list).show("slow"); }); } }); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)