Skip to content
Drag stuff around! For forever and ever!
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
images Committing actual code this time... Sep 5, 2010
js Added Github link. Oct 23, 2010
README Updated documentation. Oct 23, 2010
index.html Removed an old HTML file and updated README. Oct 23, 2010

README

Dependencies:  jQuery 1.4.2 or above, jQuery UI 1.8 (Draggable) or above

Description: This plugin takes some content and makes it draggable to infinite bounds within a constrained area.
It works much like the draggable map in Google Maps.

Instructions: Simply call '$().infidrag()' on whatever element you want to make draggable.  Define the bounds
with options 'height' and 'width.'  Here's an example:

$('#content').infiDrag({
	height: 400,
	width: 600
});

Tested on IE 7 and 8, Firefox, Chrome and Safari.
Something went wrong with that request. Please try again.