Reputation: 4008
Is it possible to make an automatic drag (whitout mouse-drag) with jquery draggable?
I´m thinking:
Load elements from db using php.
Find element with jquery and move it to position stored in db.
JS
$(document).ready(function){
$('#element').draggable({
automatic move to position:
top: 22
left: 22
});
How else should i load my stored element positions?
I drag elements from one div to another.
Upvotes: 0
Views: 1984