Questions tagged [jquery-draggable]

Jquery-draggable is a jquery interface to enable draggable functionality on any DOM element. Move any draggable object by clicking on it with the mouse and dragging it anywhere within the viewport.

Jquery-draggable is a jquery interface to enable draggable functionality on any DOM element. Move any draggable object by clicking on it with the mouse and dragging it anywhere within the viewport.

162 questions
1
vote
1 answer

Wrapping DIVs with inline-block

I want my page to look like this: http://jsfiddle.net/yuA5Q/3/embedded/result However, I am implementing jQuery ui to utilize the draggable(and sortable) functionality. So if I don't make .bubblescontainer display: inline-block, I get some horrible…
James Korden
  • 724
  • 4
  • 19
1
vote
1 answer

Cancel jQueryUI mouse behavior (resize, drag) with escape key

Is it possible to cancel current jQueryUI resizable and draggable interaction with a key press?
Marcin Wisnicki
  • 4,511
  • 4
  • 35
  • 57
1
vote
2 answers

Type Error i is undefined

Am using jquery draggable collision plugin which throws the error on loading the page that is "Type Error i is undefined" jQuery UI Droppable - Default…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/jquery-plugins" class="post-tag grid--cell" title="show questions tagged 'jquery-plugins'" rel="tag">jquery-plugins</a> <a href="../../questions/tagged/jquery-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-draggable'" rel="tag">jquery-draggable</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 09 '13 at 06:36">asked Oct 09 '13 at 06:36</time> <a href="../../users/902242/amgates" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/902242.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="AmGates" /> </a> <div class="s-user-card--info"> <a href="../../users/902242/amgates" class="s-user-card--link">AmGates</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,127</li> <li class="s-award-bling s-award-bling__silver" title="16 silver badges">16</li> <li class="s-award-bling s-award-bling__bronze" title="29 bronze badges">29</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-19070769"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/19070769/knockout-observablearray-binding-with-jquery-drag-drop-undesirable-behavior" class="question-hyperlink">Knockout observableArray binding with JQuery drag/drop : undesirable behavior</a></h3> <div class="excerpt">I have some divs in a container div bound to a knockout observable array using foreach binding. That's working nicely. In the knockout afterAdd event, I use jQuery to create a listener for a (newly created) div's click event: …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/knockout.js" class="post-tag grid--cell" title="show questions tagged 'knockout.js'" rel="tag">knockout.js</a> <a href="../../questions/tagged/ko.observablearray" class="post-tag grid--cell" title="show questions tagged 'ko.observablearray'" rel="tag">ko.observablearray</a> <a href="../../questions/tagged/jquery-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-draggable'" rel="tag">jquery-draggable</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 28 '13 at 19:18">asked Sep 28 '13 at 19:18</time> <a href="../../users/311343/tim" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/311343.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Tim" /> </a> <div class="s-user-card--info"> <a href="../../users/311343/tim" class="s-user-card--link">Tim</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">8,669</li> <li class="s-award-bling s-award-bling__gold" title="31 gold badges">31</li> <li class="s-award-bling s-award-bling__silver" title="105 silver badges">105</li> <li class="s-award-bling s-award-bling__bronze" title="183 bronze badges">183</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-17221570"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/17221570/draggable-interaction-not-working-on-cellphone" class="question-hyperlink">Draggable interaction not working on cellphone</a></h3> <div class="excerpt">I am currently working on a project with jquery mobile and I made a div draggable. The drag interaction works perfectly until I open the website on my Samsung S3 mini. This is my head: <meta name="viewport" content="width=device-width,…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/jquery" class="post-tag grid--cell" title="show questions tagged 'jquery'" rel="tag">jquery</a> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/jquery-mobile" class="post-tag grid--cell" title="show questions tagged 'jquery-mobile'" rel="tag">jquery-mobile</a> <a href="../../questions/tagged/jquery-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-draggable'" rel="tag">jquery-draggable</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 20 '13 at 18:54">asked Jun 20 '13 at 18:54</time> <a href="../../users/2455993/josed" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2455993.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="JoseD" /> </a> <div class="s-user-card--info"> <a href="../../users/2455993/josed" class="s-user-card--link">JoseD</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">123</li> <li class="s-award-bling s-award-bling__silver" title="3 silver badges">3</li> <li class="s-award-bling s-award-bling__bronze" title="11 bronze badges">11</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-16756675"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/16756675/two-different-behaviors-with-draggable-ui-helper-clone-and-non-clone-what-s-go" class="question-hyperlink">Two different behaviors with Draggable UI helper clone and non-clone, what's going on?</a></h3> <div class="excerpt">From my understanding the helper option with Draggable UI is only a display effect as described here. But when using it with tables it appears to be bugged (append position is…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/jquery" class="post-tag grid--cell" title="show questions tagged 'jquery'" rel="tag">jquery</a> <a href="../../questions/tagged/jquery-ui" class="post-tag grid--cell" title="show questions tagged 'jquery-ui'" rel="tag">jquery-ui</a> <a href="../../questions/tagged/jquery-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-draggable'" rel="tag">jquery-draggable</a> <a href="../../questions/tagged/jquery-droppable" class="post-tag grid--cell" title="show questions tagged 'jquery-droppable'" rel="tag">jquery-droppable</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 26 '13 at 06:03">asked May 26 '13 at 06:03</time> <a href="../../users/2421673/javajaba" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2421673.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="javajaba" /> </a> <div class="s-user-card--info"> <a href="../../users/2421673/javajaba" class="s-user-card--link">javajaba</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">75</li> <li class="s-award-bling s-award-bling__silver" title="2 silver badges">2</li> <li class="s-award-bling s-award-bling__bronze" title="11 bronze badges">11</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-16485314"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/16485314/using-jquery-ui-draggable-how-can-i-use-a-callback-function-on-hover-over-a-dr" class="question-hyperlink">Using jQuery UI draggable, how can I use a callback function on hover over a droppable object?</a></h3> <div class="excerpt">I need to append text to a cloned helper object when it's dragged over a droppable object. Is there a way to trigger a callback on hover over a droppable object? </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/jquery" class="post-tag grid--cell" title="show questions tagged 'jquery'" rel="tag">jquery</a> <a href="../../questions/tagged/jquery-ui" class="post-tag grid--cell" title="show questions tagged 'jquery-ui'" rel="tag">jquery-ui</a> <a href="../../questions/tagged/drag-and-drop" class="post-tag grid--cell" title="show questions tagged 'drag-and-drop'" rel="tag">drag-and-drop</a> <a href="../../questions/tagged/jquery-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-draggable'" rel="tag">jquery-draggable</a> <a href="../../questions/tagged/jquery-droppable" class="post-tag grid--cell" title="show questions tagged 'jquery-droppable'" rel="tag">jquery-droppable</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 10 '13 at 15:05">asked May 10 '13 at 15:05</time> <a href="../../users/834525/ryan" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/834525.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Ryan" /> </a> <div class="s-user-card--info"> <a href="../../users/834525/ryan" class="s-user-card--link">Ryan</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">14,682</li> <li class="s-award-bling s-award-bling__gold" title="32 gold badges">32</li> <li class="s-award-bling s-award-bling__silver" title="106 silver badges">106</li> <li class="s-award-bling s-award-bling__bronze" title="179 bronze badges">179</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-16087660"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/16087660/draggable-plugin-bug-on-auto-scroll-jquery" class="question-hyperlink">Draggable plugin bug on auto-scroll (jquery)</a></h3> <div class="excerpt">I am working in a project that uses jquery draggable plugin to move widgets (divs) to another place in the page, but I'm having a problem that I'm not being able to solve it. My problem is exactly the same that occurs in the jquery draggable plugin…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/jquery" class="post-tag grid--cell" title="show questions tagged 'jquery'" rel="tag">jquery</a> <a href="../../questions/tagged/css" class="post-tag grid--cell" title="show questions tagged 'css'" rel="tag">css</a> <a href="../../questions/tagged/draggable" class="post-tag grid--cell" title="show questions tagged 'draggable'" rel="tag">draggable</a> <a href="../../questions/tagged/jquery-ui-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-ui-draggable'" rel="tag">jquery-ui-draggable</a> <a href="../../questions/tagged/jquery-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-draggable'" rel="tag">jquery-draggable</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 18 '13 at 15:54">asked Apr 18 '13 at 15:54</time> <a href="../../users/1604261/jose-cabo" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1604261.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="José Cabo" /> </a> <div class="s-user-card--info"> <a href="../../users/1604261/jose-cabo" class="s-user-card--link">José Cabo</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">6,149</li> <li class="s-award-bling s-award-bling__gold" title="3 gold badges">3</li> <li class="s-award-bling s-award-bling__silver" title="28 silver badges">28</li> <li class="s-award-bling s-award-bling__bronze" title="39 bronze badges">39</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-15906098"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/15906098/select-text-in-content-editable-div-which-is-jquery-draggable" class="question-hyperlink">Select text in Content editable div which is jquery draggable</a></h3> <div class="excerpt">I have a contenteditable div which is a child of another div which is made into a draggable element using jquery. <div id="draggable"> <div id = "editable" contenteditable="true"/> </div> $('#draggable').draggable({revert:true}); The problem I…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/jquery" class="post-tag grid--cell" title="show questions tagged 'jquery'" rel="tag">jquery</a> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/jquery-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-draggable'" rel="tag">jquery-draggable</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 09 '13 at 15:28">asked Apr 09 '13 at 15:28</time> <a href="../../users/1008421/unni" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1008421.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="unni" /> </a> <div class="s-user-card--info"> <a href="../../users/1008421/unni" class="s-user-card--link">unni</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,891</li> <li class="s-award-bling s-award-bling__gold" title="4 gold badges">4</li> <li class="s-award-bling s-award-bling__silver" title="19 silver badges">19</li> <li class="s-award-bling s-award-bling__bronze" title="22 bronze badges">22</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-15809173"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/15809173/fullcalendar-scroll-from-external-list" class="question-hyperlink">Fullcalendar scroll from external list</a></h3> <div class="excerpt">I'm trying to get a Fullcalendar view to scroll when dragging an event to it from an external list. First the calendar didn't scroll at all, but I solved that by setting appendTo to something more appropriate than body. appendTo: ".fc-agenda-slots…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/jquery" class="post-tag grid--cell" title="show questions tagged 'jquery'" rel="tag">jquery</a> <a href="../../questions/tagged/fullcalendar" class="post-tag grid--cell" title="show questions tagged 'fullcalendar'" rel="tag">fullcalendar</a> <a href="../../questions/tagged/jquery-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-draggable'" rel="tag">jquery-draggable</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 04 '13 at 10:54">asked Apr 04 '13 at 10:54</time> <a href="../../users/524293/frans" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/524293.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Frans" /> </a> <div class="s-user-card--info"> <a href="../../users/524293/frans" class="s-user-card--link">Frans</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,389</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="16 silver badges">16</li> <li class="s-award-bling s-award-bling__bronze" title="28 bronze badges">28</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-15806803"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/15806803/drag-and-drop-items-to-div-and-have-option-to-revert-to-original-position" class="question-hyperlink">Drag and drop items to div, and have option to revert to original position</a></h3> <div class="excerpt">As described, i want to be able to drag some divs from a sort of menu that i have, and be able to drop them to a specific div.. i managed to do sort of it following this.. http://jsfiddle.net/bysnc/ however, i want to add a "x" button on each one,…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/jquery" class="post-tag grid--cell" title="show questions tagged 'jquery'" rel="tag">jquery</a> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/drag-and-drop" class="post-tag grid--cell" title="show questions tagged 'drag-and-drop'" rel="tag">drag-and-drop</a> <a href="../../questions/tagged/jquery-droppable" class="post-tag grid--cell" title="show questions tagged 'jquery-droppable'" rel="tag">jquery-droppable</a> <a href="../../questions/tagged/jquery-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-draggable'" rel="tag">jquery-draggable</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 04 '13 at 09:02">asked Apr 04 '13 at 09:02</time> <a href="../../users/1234825/nikolas" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1234825.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="nikolas" /> </a> <div class="s-user-card--info"> <a href="../../users/1234825/nikolas" class="s-user-card--link">nikolas</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">723</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="17 silver badges">17</li> <li class="s-award-bling s-award-bling__bronze" title="37 bronze badges">37</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-15570122"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/15570122/how-to-get-the-handle-used-to-drag-a-draggable-when-having-multiple-handles" class="question-hyperlink">How to get the handle used to drag a draggable when having multiple handles</a></h3> <div class="excerpt">I am using Jquery Draggable My draggable is having four handles on all four sides viz (top, bottom, left and right) using which draggable can be dragged in respective direction $('.draggable').draggable({ handle: '.top, .bottom, .left,…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/draggable" class="post-tag grid--cell" title="show questions tagged 'draggable'" rel="tag">draggable</a> <a href="../../questions/tagged/jquery-ui-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-ui-draggable'" rel="tag">jquery-ui-draggable</a> <a href="../../questions/tagged/handle" class="post-tag grid--cell" title="show questions tagged 'handle'" rel="tag">handle</a> <a href="../../questions/tagged/jquery-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-draggable'" rel="tag">jquery-draggable</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 22 '13 at 12:17">asked Mar 22 '13 at 12:17</time> <a href="../../users/1309600/uttara" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1309600.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Uttara" /> </a> <div class="s-user-card--info"> <a href="../../users/1309600/uttara" class="s-user-card--link">Uttara</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,496</li> <li class="s-award-bling s-award-bling__gold" title="3 gold badges">3</li> <li class="s-award-bling s-award-bling__silver" title="24 silver badges">24</li> <li class="s-award-bling s-award-bling__bronze" title="35 bronze badges">35</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-15349390"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/15349390/jquery-ui-how-to-check-if-a-draggable-item-snaps" class="question-hyperlink">jQuery UI - how to check if a draggable item snaps</a></h3> <div class="excerpt">I'm having issues with a jQuery UI condition. Here is the code: $(function() { $("#draggable2").draggable({ snap: ".ui-widget-header", snapMode: "inner", revert: true }); }); My question: How do I use an if…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/jquery-ui" class="post-tag grid--cell" title="show questions tagged 'jquery-ui'" rel="tag">jquery-ui</a> <a href="../../questions/tagged/jquery-ui-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-ui-draggable'" rel="tag">jquery-ui-draggable</a> <a href="../../questions/tagged/jquery-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-draggable'" rel="tag">jquery-draggable</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 11 '13 at 21:51">asked Mar 11 '13 at 21:51</time> <a href="../../users/2011303/alkatell" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2011303.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Alkatell" /> </a> <div class="s-user-card--info"> <a href="../../users/2011303/alkatell" class="s-user-card--link">Alkatell</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">45</li> <li class="s-award-bling s-award-bling__silver" title="2 silver badges">2</li> <li class="s-award-bling s-award-bling__bronze" title="9 bronze badges">9</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-15216565"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/15216565/make-a-draggable-html5-canvas-curve-area" class="question-hyperlink">Make a draggable HTML5 canvas curve area</a></h3> <div class="excerpt">If I have a canvas in which an image is drawn. The image has four points in the curve. I need to make this curve area draggable. but without use of kinetic Js Image attached. HTML <div id='curveAreaDrag' class="ui-widget-content" > <div…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/html5-canvas" class="post-tag grid--cell" title="show questions tagged 'html5-canvas'" rel="tag">html5-canvas</a> <a href="../../questions/tagged/jquery-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-draggable'" rel="tag">jquery-draggable</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Mar 05 '13 at 05:36">asked Mar 05 '13 at 05:36</time> <a href="../../users/1868277/naresh" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1868277.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Naresh" /> </a> <div class="s-user-card--info"> <a href="../../users/1868277/naresh" class="s-user-card--link">Naresh</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,761</li> <li class="s-award-bling s-award-bling__gold" title="10 gold badges">10</li> <li class="s-award-bling s-award-bling__silver" title="45 silver badges">45</li> <li class="s-award-bling s-award-bling__bronze" title="78 bronze badges">78</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-15085073"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>3</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/15085073/jquery-inserting-html-into-a-draggable-div-with-prepend-how-to-use-the-click-e" class="question-hyperlink">jQuery: Inserting HTML into a draggable div with .prepend() - how to use the click event on this HTML element?</a></h3> <div class="excerpt">Following issue: I have a hidden div container called "#window-hidden". When a user clicks on a link the HTML of the linked document should be inserted into this div container by AJAX (working so far". This container should be draggable as well…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/jquery" class="post-tag grid--cell" title="show questions tagged 'jquery'" rel="tag">jquery</a> <a href="../../questions/tagged/jquery-ui-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-ui-draggable'" rel="tag">jquery-ui-draggable</a> <a href="../../questions/tagged/jquery-click-event" class="post-tag grid--cell" title="show questions tagged 'jquery-click-event'" rel="tag">jquery-click-event</a> <a href="../../questions/tagged/jquery-draggable" class="post-tag grid--cell" title="show questions tagged 'jquery-draggable'" rel="tag">jquery-draggable</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 26 '13 at 09:07">asked Feb 26 '13 at 09:07</time> <a href="../../users/1636688/tobias-krause" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1636688.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Tobias Krause" /> </a> <div class="s-user-card--info"> <a href="../../users/1636688/tobias-krause" class="s-user-card--link">Tobias Krause</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">135</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="8 bronze badges">8</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/jquery-draggable_page=4" rel="prev" title="Go to page 4">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/jquery-draggable_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/jquery-draggable_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/jquery-draggable_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/jquery-draggable_page=10" rel="" title="Go to page 10">10</a> <a class="s-pagination--item" href="../../questions/tagged/jquery-draggable_page=11" rel="" title="Go to page 11">11</a> <a class="s-pagination--item" href="../../questions/tagged/jquery-draggable_page=6" rel="next" title="Go to page 6"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>