pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/remon/jQuery.dragmove

hub.githubassets.com/assets/primer-70be7debc79a8eff.css" /> GitHub - remon/jQuery.dragmove: Lightweight jQuery extension for dragging DOM elements · GitHub
Skip to content

remon/jQuery.dragmove

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

jQuery.dragmove

Lightweight jQuery extension for enabling draggable functionality on DOM elements without requiring the jQuery UI library. Compatible with trackpads, touch devices, and standard computer mice.

Installation

Include the latest version of jQuery and jQuery.dragmove.js in the <head> of your HTML document:

<script src="jQuery.min.js"></script>  
<script src="jQuery.dragmove.js"></script>

How to Use

Start by calling the dragmove(); method on any DOM element. Move the element by clicking ( tapping on touch devices ) and dragging it around the viewport. The following example will enable dragging functionality for all div elements.

$(function() {  

    // All div elements
    $('div').dragmove(); 
	
});

Live Demo: code.nath.co/dragmove

Browser Support

– Google Chrome
– Safari ( Desktop and Mobile )
– Internet Explorer ( 9, 10, 11 )
– Firefox

Feedback

If you discover any issues or have questions regarding usage, please send a message to mail@nath.co or find me on twitter @NathanRutzky.

About

Lightweight jQuery extension for dragging DOM elements

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy