Version avec modules séparés !
This commit is contained in:
22
modules/blogs/js/blogs.js
Normal file
22
modules/blogs/js/blogs.js
Normal file
@@ -0,0 +1,22 @@
|
||||
$(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);
|
||||
}
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user