Friday, June 3rd, 2005

Library: DOM-Drag

Category: JavaScript, Library

DOM-Drag is a lightweight, easy to use, dragging API for modern DHTML browsers.

Simple Example

<script language="javascript" src="path/to/dom-drag.js"></script>

<div id="root" style="left:20px; top:20px;">
	<div id="handle">Handle</div>
</div>

<script language="javascript">
	var theHandle = document.getElementById("handle");
	var theRoot   = document.getElementById("root");
	Drag.init(theHandle, theRoot);
</script>

View home page

View examples

Posted by Dion Almaer at 9:59 am
1 Comment

+++--
3.3 rating from 6 votes

1 Comment »

Comments feed

Can the image be postionioned such that on a page return it is is the last location not position:absolute;

Just wondering

Comment by Kevin Dwyer — October 31, 2005

Leave a comment

You must be logged in to post a comment.