名站网址导航为大驾家提供DedeCMS站点程序站点教程相关的知识,比如织梦程序安装教程,织梦程序系统故障等教程。
首先是修改源网站文件 打开include里的arc.archives.class.php(用来解析生成文档的)
查找
$this->PreNext['pre'] = " |
修改成
$this->PreNext['pre'] = "$mlink ";
$this->PreNext['next'] = "
<script type="text/javascript" language="javascript"> <!-- document.onkeydown=nextpage; var prevpage='{dede:prenext get='pre'/}'; var nextpage='{dede:prenext get='next'/}'; var index_page = "index.html"; //var bookpage="index.html"; function nextpage(event) { event = event ? event : (window.event ? window.event : null); //if (event.keyCode==13) location=bookpage if (event.keyCode==13) location=index_page if (event.keyCode==37) { if (prevpage!='' && prevpage!=' location=prevpage; else alert('这是第一页'); } if (event.keyCode==39) { if (nextpage!='' && nextpage!=' location=nextpage; else alert('已经是最后一页了'); } } //--> function getElement(aID) { return (document.getElementById) ? document.getElementById(aID): document.all[aID]; } function makeRequest(url){ http_request=false; if(window.XMLhttpRequest){//Mozilla,Safari,... http_request=new XMLhttpRequest(); if(http_request.overrideMimeType){ http_request.overrideMimeType('text/xml'); } }else if(window.ActiveXObject){//IE try{ http_request=new ActiveXObject("Msxml2.XMLhTTP"); }catch(e){ try{ http_request=new ActiveXObject("Microsoft.XMLhTTP"); }catch(e){} } } if(!http_request){ alert('Giving up:(Cannot create an XMLhTTP instance)'); return false; } return http_request; } </script> |
关于DedeCMS站点程序站点教程相关的知识,就说到这里了希望能帮助朋友们。DedeCMS站点程序织梦程序防止恶意提交自定义表单设置必填项