Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2004
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Moving images help!!!

    Hi,
    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

  • #2
    Regular Coder
    Join Date
    Aug 2002
    Location
    Silicon Valley, CA
    Posts
    980
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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).

  • #3
    New Coder
    Join Date
    Jan 2004
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This is the topic I was talking about..here is the link

    http://www21.brinkster.com/sashwin/survey/moving.html


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •