//引入jQuery的js

  建立footer.html,内容为要嵌入的内容。

  在需要嵌入的页面中加入:

 

$.get("footer.html",function(data){
$("#foot").html(data);
});

 

其中foot为嵌入的页面放的位置的外层DIV等。

posted on 2016-07-12 10:53  加菲猫21  阅读(2598)  评论(0编辑  收藏  举报