PDA

View Full Version : Drag & Drop script and Table



lelu
04-04-2007, 05:22 PM
1) Script Title: Drag & Drop script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/domdrag/

3) Describe problem:
How can I keep the "moving function" within this little window?

I combined 4 tables around the map. And if you try to move the map it is also keeps moving.
How can I keep the "moving function" only within this little window?

http://www.easyto.eu/drag-test.htm

callumh
04-13-2007, 01:52 PM
Hi,

I need support with making the handle boxes from this script go next to each other when the page loads... Anyone got any ideas?

Thanks,
Callum (http://www.callumhaywood.com)

mburt
04-13-2007, 01:56 PM
Please make your own thread for asking questions, this is someone else's thread :).

And for your question:
If you use position:relative instead of position:absolute in the CSS it may work. Here's why: position:absolute, literally positions the element on the page absolutely, defined directly from the x,y position. relative causes two position:relative elements to "stack" inside it's parent element, but can still be positioned with left and top coordinates.