Jump to content

Drag Drop an Save


widget

Recommended Posts

Hi,

 

I have a pet website and I need to create houses for the pets to live in.

 

The houses will need to be able to be furnished.

 

What I need is a push in the right direction of how i might accomplish this.

 

I know of a few drag and drop scripts out there but what about ones that save as well and not just via a cookie for that user.

 

Pretty much the page will just be a flat gridded square in which you can place a piece of furniture, rotate it and save it in place.

 

Any ideas?

 

 

Link to comment
https://forums.phpfreaks.com/topic/77902-drag-drop-an-save/
Share on other sites

you could all store each an every action in some place in javascript and have a save button, now depending on your script you would have to rearrange everything from the database to javascript

 

so if you have some object in the square that has been inserted save the object location if its been rotated or moved overwrite the location and then save the cordinates to the db

 

this is just a concept for giving more input I would have to see your actual scripts

Link to comment
https://forums.phpfreaks.com/topic/77902-drag-drop-an-save/#findComment-394313
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.