PDA

View Full Version : Resolved Drag and Drop Script Question



dxp232
06-27-2009, 02:13 PM
1) Script Title: Drag and Drop Script

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/image3.htm

3) Describe problem:

I am using the drag and drop script combined with some asp.net that allows me to save the coordinates of each object i have moved to a DB and then reload it at a later time. The problem i am running into is that, because you guys utilize relative x,y coordinates, if i reload the page on a different PC (with a different resolution), the positions are off...

Any ideas on what i can do to adjust for resolution and similar environmental settings? Thanks in advance!

--- Sorry guys, after a bit of playing i figgured out the problem. All i had to do was change your css class to position:absolute and that gives me the correct coordinate cross-browser/cross-pc which is what i need, thanks anyway