Sortable Helper help?
Sortable Helper help?
I need to be able to disable dragging for list, but I need to be able
to take from one list and still put into the undraggable list. He's
what I've come up with, which work with everything but IE. Any idea?
Thanks in advanced.
function dragHelp(e, el)
{
if(navTooWide)
{
try
{
if(e.currentTarget["id"].match("availLinks"))
{
return false;
}
}
catch(x)
{
if(e.target.parentElement["id"].match("availLinks"))
{
return false;
}
}
}
myHelper = $(el).clone();
myHelper.show();
$('body').append(myHelper);
$(myHelper).css({background:"none"});
return myHelper;
}