View Full Version : Moving images help!!!

01-03-2004, 09:43 AM
I need help in pertinent to a "Survey form" and I would be very very grateful if anyone could help me out.

I have created a page which has objects (basically a gif file(s) ) of size Width=100 and Height=40 (along with a few questionnaires). The user can drag this image by clicking on it and also he can rotate it (This is done using HTML and JavaScript). Below these objects I have placed a browser (IE) image file (again a gif file) so that the user can move these objects and place it anywhere on the browser.gif. Also, there will be a Submit button down the page and when the user clicks on the Submit button the user will be taken to a PHP page which indicates "Thank you for your time" and data will be stored in a MySql database file.

Now, coming to the query. When the user drags the object(s) to anywhere in the browser.gif file I need to know the position as to where the user placed the objects and when the user hits the Submit button these position(s) need to be sent to the script and then in turn to the database file. I need to know as to how I can go about in doing this. I hope I was clear with my query and if you are not clear do write back.
Thank you

01-03-2004, 05:55 PM
We would definitely need to see the code you've got so far. A link would be best, but entering the code here would be the next best thing (between [ code ] tags, of course). :thumbsup:

01-03-2004, 08:13 PM
This is the topic I was talking about..here is the link