Hi there
This is my code.
$('.fc-event').live("mouseover",function(){
if (!$(this).data("init")) {
$(this).data("init", true);
$(this).draggable({
appendTo: 'body',
revert: 'invalid',
scroll: true,
scrollSpeed: 50
});
$(this).draggable(
"option",
"helper",
function(){
$('body').append('<div id="dragElement"></div>');
$('#dragElement').maxZIndex({inc : 5});
$('#dragElement').html($(this).find('.fc-event-title').html());
return $('#dragElement');
});
}
});
This will not work ... :( If I change the event for "hover", it will work (but only on mouseout ... which I cannot use). If I change the event for "click" it also works, just NOT "mouse".
Any ideas?
source
share