I've been using Jquery ui.Draggable. And when I'm scrolling the paragraph the div is draging at the same time as its parent element. Could anybody help me with How to temporarily disable dragging while scrolling?
Lorem Ipsum is simply dummy text of the printing
and typesetting industry. Lorem Ipsum has been the
industry's standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and
scrambled it to make a type specimen book. It has
survived not only five centuries, but also the leap
into electronic typesetting, remaining essentially
unchanged. It was popularised in the 1960s with the
release of Letraset sheets containing Lorem Ipsum passages,
and more recently with desktop publishing software like Aldus
PageMaker including versions of Lorem Ipsum.
$(function(){
var str = "div.note";
var el = $(str);
var er = $(str+' p');
$this = er;
el.draggable().resizable();
el.bind('resize', function(){
var node = $(this);
var size = Math.pow(node.width(),2) + Math.pow(node.height(),2);
size = Math.sqrt(size);
node.css({'font-size':(size/2)+'%', 'padding':(size/24)+'px'});
});
});
Best Regards
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)