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
|
2010-09-15 17:55:18 +02:00
|
|
|
$("#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'));
|
|
|
|
|
2010-09-20 16:39:08 +02:00
|
|
|
$.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);
|
|
|
|
}
|
|
|
|
});
|
2010-09-14 23:38:29 +02:00
|
|
|
});
|