Download dragable content script

Demo | Demo 2 | Demo 3

Bookmark and Share

Licensing

This script is distributed under the LGPL open source license.
Commercial licenses are also available. Some of these licenses also includes personal e-mail support for up to 1 year.

Download script

You can download the entire script from this Zip file.

Configuration

You make elements draggable by assigning them to the class "dragableElement". Examples:

<img src="images/image1.jpg" style="float:left" class="dragableElement"> <div id="keyText" class="dragableElement">You can drag this box as well as the images on this page</div>

These are some examples take from the demo.

Remember position and z-index in cookie

You can configure the script to remember the position of the dragable elements in a cookie. This is done by adding lines like this

<script type="text/javascript">
var rememberPositionedInCookie = true;
var rememberPosition_cookieName = 'demo';
</script>

right above the place where you include dragable-content.js.

Rate this script at Hotscripts.com

If you like my script, please rate it at HotScripts.com

Update log

  • June, 14th, 2006 - New feature: Remember position and z-index in cookie

Comments

No one has commented this - be first!

Post your comment

Don't have an avatar? Create one at Gravatar.com.

Confirmation code:

Go to cbolson.com


About/Contact | A good idea? | Submit a script | Privacy notice
© 2005 - 2024 dhtmlgoodies.com