1.先打开admin/templates/menu.htm文件
找到: document.getElementById("menu-ul").innerHTML = document.getElementById("menu-ul").innerHTML+ result.content; 修改成: document.getElementById("menu-ul").innerHTML = document.getElementById("menu-ul").innerHTML;
如下图: 2.在打开admin/templates/start.htm文件 删除:
<ul id="cloud_list" style="padding:0; margin: 0; list-style-type:none; color: #CC0000;"> </ul> <script type="Text/Javascript" language="JavaScript"> <!-- Ajax.call('cloud.php?is_ajax=1&act=cloud_remind','', cloud_api, 'GET', 'JSON'); function cloud_api(result) { //alert(result.content); if(result.content=='0') { document.getElementById("cloud_list").style.display ='none'; } else { document.getElementById("cloud_list").innerHTML =result.content; } } function cloud_close(id) { Ajax.call('cloud.php?is_ajax=1&act=close_remind&remind_id='+id,'', cloud_api, 'GET', 'JSON'); } //--> </script>
如下图:
|