Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Drag/Drop grid and coordinates.
03-29-2012, 02:59 AM #1
- Join Date
- Oct 2007
- Thanked 79 Times in 79 Posts
Drag/Drop grid and coordinates.
I'm more looking for advice but any helpful examples would be great. So basically what I need to accomplish is a grid, that I can drop objects into, then save the coordinates.
So let's say I have a 3x3 set of tiles which will represent "floor tiles", and I load from my MySql database a users "furniture", what's the best method of being able to take these dynamic items drop them on a tile which can be then saved in an xml file or something.
What are the best j/s libraries for this? I know jQuery and mootools have drag and drop functions but can they accomplish what I'm looking for?
Any feedback will help, I'm comfortable coding in js but I want to do it effeciently and there's got to be people who have done similar things.PHP Code:
$aString = is_string((string)array()) ? true : false; // true :D