Response title
This is preview!
$('.some-elements').draggable({
revert:true,
iframeFix: true,
drag:function(event){
//code
},
});
$container = $('iframe#id').contents();
$container.find(".drop" ).droppable({
iframeFix: true,
greedy: true,
over:function( event, ui ){
//code
},
drop: function( event, ui ){
//code
},
out:function( event, ui ){
//code
}
});
iframeFix: true,
false
cursorAt
option,
or in any case where the mouse cursor may not be over the helper.true
,
transparent overlays will be placed over all iframes on the page.© 2013 jQuery Foundation
Sponsored by and others.