Accueil/js/jquery.blogs.js
2010-09-21 15:09:31 +00:00

23 lines
543 B
JavaScript

$(document).ready(function(){
$('#menu-bar').prepend($('#blog-links-manager'));
//affichage des blogs
$("#blogs").html("<img src=\"images/interface/ajax_load.gif\"/> Loading Blogs...");
var tmp;
/* A helper function for converting a set of elements to draggables: */
make_draggable($('#blogs'));
$.ajax(
{url : "blogs.php",
timeout : 36000,
error: function(data){
$("#blogs").html('<img src="images/interface/error.png"/> Délai dépassé !');
},
success:function(data){
$("#blogs").html(data);
}
});
});