var draggable_config helper function ev var obj ev currentTarget var i

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
var draggable_config = {
helper: function(ev) {
var obj = $(ev.currentTarget);
var img = $('.image img', obj);
return $('<img width="50" height="50" src="' + img.attr('src') + '" />');
},
zIndex: 20,
cursorAt: {top: 0, left: 0}
/*
start: function(ev, ui) {
$('.review-photo').css('overflow-y', 'hidden');
$(this).fadeTo(0, 0.5);
},
stop: function(ev, ui) {
$('.review-photo').css('overflow-y', 'auto');
$(this).fadeTo(0, 1);
}
*/
}