ducksboard / gridster.js

gridster.js is a jQuery plugin that makes building intuitive draggable layouts from elements spanning multiple columns
http://gridster.net/
MIT License
6.03k stars 1.2k forks source link

Save and restore : content hidden to restore #545

Open newic47 opened 9 years ago

newic47 commented 9 years ago

Hello gridster community, I discover your javascript software and try to use it.

So i followed tutorials and for the moment its ok for save position and restore but i have a bug when restore : content doesnt appear in my ul. I can drag and save state. But when i restore i have my object loaded i can move and resize they appered to the place but htey are empty of them content.

the code i used : http://pastebin.com/z8wDFXNM inspired by exemples founded on you website Its maybe process for debug ?

Thanks to read me.

newic47 commented 9 years ago

Simple explain : its use php to read position at start and write position by php when clicked save in a json file.

newic47 commented 9 years ago

serialize 1 Drag and choose position 2 Save the position 3 Try to restore, position are restored but not the content