生成具體內(nèi)容頁(yè)時(shí)頁(yè)面源代碼不一致問(wèn)題的解決(2)_動(dòng)易Cms教程
教程Tag:暫無(wú)Tag,歡迎添加,賺取U幣!
但是問(wèn)題也跟隨而來(lái),生成之后的代碼有的是這樣,如http://www.tingko.net/News/info/25780.html:
| 〈html〉 〈head〉 〈title〉動(dòng)易網(wǎng)校所有文章生成html頁(yè)面,提高訪(fǎng)問(wèn)速度!-動(dòng)易網(wǎng)校,最齊全的動(dòng)易模板,動(dòng)易插件,動(dòng)易教程站〈/title〉 〈meta http-equiv="Content-Type" content="text/html; charset=gb2312"〉 〈style type="text/css"〉 〈!-- .style2 { color: #FF0000; font-weight: bold; } --〉 〈/style〉 {$Skin_CSS} {$MenuJS} 〈script language="JavaScript" type="text/JavaScript"〉 //改變圖片大小 function resizepic(thispic) { if(thispic.width〉700) thispic. } //無(wú)級(jí)縮放圖片大小 function bbimg(o) { var zoom=parseInt(o.style.zoom, 10)||100; zoom =event.wheelDelta/12; if (zoom〉0) o.style.zoom=zoom ’%’; return false; } //雙擊鼠標(biāo)滾動(dòng)屏幕的代碼 var currentpos,timer; function initialize() { timer=setInterval ("scrollwindow ()",30); } function sc() { clearInterval(timer); } function scrollwindow() { currentpos=document.body.scrollTop; window.scroll(0, currentpos); if (currentpos !=document.body.scrollTop) sc(); } document.onmousedown=sc document.ondblclick=initialize //更改字體大小 var status0=’’; var curfontsize=10; var curline function fontZoomA(){ if(curfontsize〉8){ document.getElementById(’fontzoom’).style.fontSize=(--curfontsize) ’pt’; document.getElementById(’fontzoom’).style.lineHeight=(--curlineheight) ’pt’; } } function fontZoomB(){ if(curfontsize〈64){ document.getElementById(’fontzoom’).style.fontSize=( curfontsize) ’pt’; document.getElementById(’fontzoom’).style.lineHeight=( curlineheight) ’pt’; } } 〈/script〉 {$MY_ResumeError} 〈/head〉 |
該種生成對(duì)要害字根本沒(méi)有解析出來(lái),絲毫起不到優(yōu)化作用。
有的是這樣,如http://www.tingko.net/News/info/2780.html:
。