JavaScriptPost your JavaScript Related Tutorial Here
Notices
You are currently viewing AIOFORUM as a guest which gives you VERY limited access to view most discussions, Applications, Latest Movies & Tutorials and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload and Download content and access many other special features. Registration is fast, simple and absolutely free so please, Join our community today!
Hi guys, this time, i have included a file which you can tweak to your liking. This script shows how you can set up draggable content that you can drag around with your mouse, you can have things layered, etc.
The key thing here is that the element which should be draggable should have "dragEnabled" in the tag somewhere, and also, using css, the tag must have: "position: absolute"...
Although this is more commonly seen on AJAX enabled server pages, you can use this 100% client-side script to achieve the same result!!!
USES:
CSS: Yes
JS: Yes
HTM: Yes
“We don't inherit the earth from our ancestors, we borrow it from our children.”
Last edited by mjr_havoc; 05-09-2008 at 12:47 PM.
The Following User Says Thank You to mjr_havoc For This Useful Post: