Accueil/modules/blogs/js/blogs.js

23 lines
566 B
JavaScript
Raw Normal View History

2010-09-14 23:38:29 +02:00
$(document).ready(function(){
2010-09-17 15:38:57 +02:00
$('#menu-bar').prepend($('#blog-links-manager'));
2010-09-14 23:38:29 +02:00
//affichage des blogs
$("#blogs").html("<img src=\"images/interface/ajax_load.gif\"/> Loading Blogs...");
2010-09-14 23:38:29 +02:00
var tmp;
/* A helper function for converting a set of elements to draggables: */
make_draggable($('#blogs'));
$.ajax(
2010-09-27 12:48:53 +02:00
{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);
}
});
2010-09-14 23:38:29 +02:00
});