I currently have a page that allows the user to input coordinates into some input fields to arrange stats (text) on an image then save the results to an image file. It’s all coded in PHP and I’m looking at making it simpler for someone to use by making so the can drag & drop each stat field where ever they want to on the background image and save it to an image file when they are done.
Now what I’m going to need to do is update my database with the coordinates of each stat on where they dropped it when they save it. I will also need to have it set up so the can’ drag the stats outside of the background images area ie: 500X500 area or 200X200 area.
What I’m looking for is some guidance on how to approach this. I’ve done little with drag & drop with javascript so any snippets that are close to what I’m looking to do would make this development process go quicker for me.
Now what I’m going to need to do is update my database with the coordinates of each stat on where they dropped it when they save it. I will also need to have it set up so the can’ drag the stats outside of the background images area ie: 500X500 area or 200X200 area.
What I’m looking for is some guidance on how to approach this. I’ve done little with drag & drop with javascript so any snippets that are close to what I’m looking to do would make this development process go quicker for me.