|
||
| Inside Technique : WebFX DHTML Demos : Generic Drag-Drop This is one of my first scripts and is used in most of the WebFX articles. It is really easy to use! There are two steps to adding this functionality to your page:
This adds drag and drop to the positioned element. With a little more work, you can
define a handle for moving the element (useful for creating draggable title bars).
To create a handle, you set the class equal to "handle" and add a custom attribute, "for" specifying
the ID of the element representing the element to drag. For example:
On this page, you will find two demonstrations that you can drag. Internet Explorer 4.0 required for the demonstration Page 1:WebFX DHTML Demos © 1997-2000 InsideDHTML.com, LLC. All rights reserved. |