corrections mise en page avec utilisation de jquery.masonry.js

This commit is contained in:
nicosomb
2013-04-12 11:33:34 +02:00
parent c775c8436b
commit b70971e06b
5 changed files with 92 additions and 107 deletions

View File

@ -6,11 +6,15 @@ function toggle_favorite(element,id) {
});
}
function toggle_archive(id) {
$('#entry-'+id).toggle();
/*$('#entry-'+id).toggle();*/
$.ajax ({
url: "process.php?action=toggle_archive",
data:{id:id}
});
}
var obj = $('#entry-'+id);
$('#content').masonry('remove',obj);
$('#content').masonry('reloadItems');
$('#content').masonry('reload');
}