在子页面需要插入导航栏的地方加一个: <div id="dh"></div> 然后在js中添加以下代码:
$(function(){     $("#dh").load("index.html #dh1") })