Accueil/modules/blogs/js/blogs.js
2010-09-27 10:48:53 +00:00

23 lines
566 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 : "modules/blogs/includes/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);
}
});
});