View Full Version : Dragable elements Script IE

12-17-2004, 08:44 PM
Hi all, was working with this and the generic version:
In both cases once I add content to the div that I am setting the class="drag" on, it no longer drags. The content I am adding contains other divs (no positioning), and tables. I noticed this comment at the bottom of this script (http://www.dynamicdrive.com/dynamicindex4/image3.htm):

'Notice that the class="drag" declaration is added to the innermost element, the <b> element, and not the <h1> element.'

Can anyone help by explaining this and what needs to be done to make it work for the parent element?

Thanks in advance,