DEDECMS网址URL实现拼音伪静态的修改方法(2)

   

  if(npage==2){        if(namehand!='') location.href = namehand+".html";       else location.href = aurl+"_aid_{dede:field name='id'/}"+".html";      }else if(displaytype=='st' && namehand!=''){        location.href = namehand+"_"+(npage-1)+".html";      }else{        location.href = aurl+"_aid_{dede:field name='id'/}_pageno_"+(npage-1)+".html";      }     }   }   //下一张   function dPlayNext(){     if(npage==totalpage){ alert("没有了哦"); }     else{       if(displaytype=='st' && namehand!='') location.href = namehand+"_"+(npage+1)+".html";       else location.href = aurl+"_aid_{dede:field name='id'/}_pageno_"+(npage+1)+".html";  

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/883056c0c5c5769c398b86f2ad95688b.html