Draggable & Dialog performance issues (IE7)
Hi,
I'm trying to do some kind of drag&drop application. Everything is
allright except performance in IE7 (I didn't test it on 6). Site just
freezes for a couple of seconds after load. It appears only in IE. I
have 168 dropables elements and some (3-4) draggable elements. It's
normal or i'm doing something wrong?
Here is my code:
$(document).ready(function(){
$(".posuwacz").draggable({
revert: true
});
$(".oczekiwalnia").draggable({
revert: true
});
$(".zrzut").droppable({
accept: ".posuwacz, .oczekiwalnia",
hoverClass: 'dropacz',
drop: function(ev, ui) {
location.href = '?what=' + ui.draggable.attr
('class') + '&event=' + ui.draggable.attr('id') + '&data=' + $
(this).attr('id');
}
});
});