站长资源脚本专栏

javascript操作xml(增删改查)例子代码hta版

整理:jimmy2025/1/9浏览2
简介包括了stu.hta(是HTML应用程序); stu.xml 注意下面的HTML代码必须保存为后缀名为hta否则当对XML文件进行操作(增删改)的时候就会提示没有权限!! 文件stu.hta代码如下: 复制代码 代码如下: 数据岛的显示 </ti</div> <div class="news_infos"><div id="MyContent"><P>包括了stu.hta(是HTML应用程序); <BR>     stu.xml <BR><STRONG>注意下面的HTML代码必须保存为后缀名为hta否则当对XML文件进行操作(增删改)的时候就会提示没有权限!!</STRONG> <br><br>文件<STRONG>stu.hta</STRONG>代码如下: <BR><U>复制代码</U> 代码如下: <BR><html> <BR><head> <BR><title> 数据岛的显示 </title> <BR><style type="text/css"> <BR>#findPanel <BR>{ <BR>position:absolute; <BR>width:220px; <BR>border:1px solid #666666; <BR>} <BR>#findPanelTitle <BR>{ <BR>height:10px; <BR>background-color:#336699; <BR>cursor:move; <BR>} <BR>#findPanelContent <BR>{ <BR>padding:5px 5px 5px 5px; <BR>background-color:#6699CC; <BR>} <BR></style> <BR></head> <BR><body> <BR><SCRIPT LANGUAGE="JavaScript"> <BR><!-- <BR>var xmlDoc = new ActiveXObject("Msxml2.DOMDocument"); <BR>xmlDoc.async = false; <BR>xmlDoc.resolveExternals = false; <BR>xmlDoc.load("stu.xml"); <BR>//alert(xmlDoc.xml); <BR>//显示数据 <BR>function show(){ <BR>var vbo = document.getElementById("s").value; <BR>if(vbo=="显示学生信息"){ <BR>document.getElementById('info').style.visibility='visible'; <BR>document.getElementById("s").value="隐藏学生信息"; <BR>}else{ <BR>document.getElementById('info').style.visibility='hidden'; <BR>document.getElementById("s").value="显示学生信息"; <BR>} <BR>} <BR>//查找 <BR>function que(){ <BR>document.getElementById("ad").style.visibility="visible"; <BR>document.getElementById("qmd").style.visibility="visible"; <BR>} <BR>/** <BR>* 解析XML文件函数 <BR>* @param xmlDoc XML对象 <BR>* @param name 属性名称 格式如:user.name <BR>*/ <BR>function getXMLProperty(xmlDoc, name) { <BR>var keys = name.split('.'); <BR>var node = xmlDoc.documentElement; <BR>for(var i=0; i<keys.length; i++) { <BR>var childs = node.childNodes; <BR>var key = keys[i]; <BR>for(var k=0; k<childs.length; k++) { <BR>var child = childs[k]; <BR>if(child.nodeName == key) { <BR>if(child.childNodes.length == 1) { <BR>return child.text; <BR>} else { <BR>node = child; <BR>break; <BR>} <BR>} <BR>} <BR>} <BR>return ""; <BR>} <BR>//返回父节点(通过节点名字和节点值) <BR>function getNod(nam,val){ <BR>var node = xmlDoc.documentElement; <BR>var childs = node.childNodes; <BR>for (var i=0;i<childs.length ;i++ ) <BR>{ <BR>var child = childs[i]; <BR>var childms = child.childNodes; <BR>for(var k=0;k<childms.length;k++){ <BR>var childm = childms[k]; <BR>if(childm.nodeName == nam && (childm.text).substring(0,6)==val){ <BR>//alert(val); <BR>return child; <BR>} <BR>} <BR>} <BR>return ''; <BR>} <BR>//通过父节点和子节点名返回子节点值 <BR>function getNodVal(nods,nam){ <BR>var childms = nods.childNodes; <BR>for(var k=0;k<childms.length;k++){ <BR>var childm = childms[k]; <BR>if(childm.nodeName == nam){ <BR>//alert(childm.text); <BR>return childm.text; <BR>} <BR>} <BR>return ''; <BR>} <BR>//通过父节点和子节点名返回子节点 <BR>function getCurNod(nods,nam){ <BR>var childms = nods.childNodes; <BR>for(var k=0;k<childms.length;k++){ <BR>var childm = childms[k]; <BR>if(childm.nodeName == nam){ <BR>//alert(childm.text); <BR>return childm; <BR>} <BR>} <BR>return ''; <BR>} <BR>//开始查找 <BR>function query(){ <BR>var renum = /^\d{5}$/; <BR>if(renum.exec(xh.value)){ <BR>if(xmlDoc.selectSingleNode("/学生管理[学生/学号="+xh.value+"]")){ <BR>var nod = getNod('学号',xh.value); <BR>//getNodVal(nod,'姓名'); <BR>//getNodVal(nod,'性别'); <BR>//getNodVal(nod,'籍贯'); <BR>/*document.getElementById("xm").value=xmlDoc.selectSingleNode("/学生管理[学生/学号="+xh.value+"]").selectSingleNode("学生/姓名").text; <BR>document.getElementById("xb").value=xmlDoc.selectSingleNode("/学生管理[学生/学号="+xh.value+"]").selectSingleNode("学生/性别").text; <BR>document.getElementById("jg").value=xmlDoc.selectSingleNode("/学生管理[学生/学号="+xh.value+"]").selectSingleNode("学生/籍贯").text; <BR>document.getElementById("xh").disabled="true"; */ <BR>document.getElementById("xm").value=getNodVal(nod,'姓名'); <BR>document.getElementById("xb").value= getNodVal(nod,'性别'); <BR>document.getElementById("jg").value= getNodVal(nod,'籍贯'); <BR>}else{ <BR>alert("该学号还没有被占用!"); <BR>} <BR>}else{ <BR>alert("学号非法!学号5位数字!"); <BR>return false; <BR>} <BR>} <BR>//修改 <BR>function mod(){ <BR>if(info_check()){ <BR>if(xmlDoc.selectSingleNode("/学生管理[学生/学号="+xh.value+"]")){ <BR>if(confirm("确认修改?")){ <BR>var nod = getNod('学号',xh.value); <BR>getCurNod(nod,'姓名').text=xm.value; <BR>getCurNod(nod,'性别').text=xb.value; <BR>getCurNod(nod,'籍贯').text=jg.value; <BR>/* <BR>xmlDoc.selectSingleNode("/学生管理[学生/学号="+xh.value+"]").selectSingleNode("学生/姓名").text=xm.value; <BR>xmlDoc.selectSingleNode("/学生管理[学生/学号="+xh.value+"]").selectSingleNode("学生/性别").text=xb.value; <BR>xmlDoc.selectSingleNode("/学生管理[学生/学号="+xh.value+"]").selectSingleNode("学生/籍贯").text=jg.value; <BR>*/ <BR>saveXML(); <BR>//document.getElementById("xh").disabled="false"; <BR>document.getElementById("xh").value=""; <BR>document.getElementById("xm").value=""; <BR>document.getElementById("xb").value=""; <BR>document.getElementById("jg").value=""; <BR>document.getElementById("ad").style.visibility="hidden"; <BR>document.getElementById("qmd").style.visibility="hidden"; <BR>alert("修改成功!"); <BR>location.reload(); <BR>} <BR>}else{ <BR>alert("该学号还没有被占用!请按学号查询再进行修改!"); <BR>return false; <BR>} <BR>} <BR>} <BR>//新增学生 <BR>function add(){ <BR>var vadd = document.getElementById("add").value; <BR>if(vadd=="新增"){ <BR>document.getElementById("xh").value=""; <BR>document.getElementById("xm").value=""; <BR>document.getElementById("xb").value=""; <BR>document.getElementById("jg").value=""; <BR>document.getElementById("qmd").style.visibility="hidden"; <BR>document.getElementById('info').style.visibility='hidden'; <BR>document.getElementById("s").value="显示学生信息"; <BR>document.getElementById("ad").style.visibility="visible"; <BR>document.getElementById("add").value="保存"; <BR>document.getElementById("can").style.visibility="visible"; <BR>}else{ <BR>if(info_check()){ <BR>add_node(); <BR>saveXML(); <BR>document.getElementById("xh").value=""; <BR>document.getElementById("xm").value=""; <BR>document.getElementById("xb").value=""; <BR>document.getElementById("jg").value=""; <BR>document.getElementById("ad").style.visibility="hidden"; <BR>document.getElementById("qmd").style.visibility="hidden"; <BR>document.getElementById("add").value="新增"; <BR>alert("新增成功!"); <BR>location.reload(); <BR>} <BR>} <BR>} <BR>//删除学生 <BR>function del(){ <BR>var renum = /^\d{5}$/; <BR>if(renum.exec(document.getElementById("xh").value)){ <BR>if(xmlDoc.selectSingleNode("/学生管理[学生/学号="+xh.value+"]")){ <BR>if(confirm("确认删除?")){ <BR>/*var node = xmlDoc.selectSingleNode("/学生管理[学生/学号="+xh.value+"]"); <BR>if(node.hasChildNodes()){ <BR>var kids = node.childNodes; <BR>for(var i=0;i<kids.length;i++){ <BR>del(); <BR>} <BR>} <BR>node.parentNode.removeChild(node); <BR>*/ <BR>var nod = getNod('学号',xh.value); <BR>nod.parentNode.removeChild(nod); <BR>saveXML(); <BR>can(); <BR>alert("删除成功!"); <BR>location.reload(); <BR>} <BR>}else{ <BR>alert("该学号还没有被占用!请按学号查询再进行修改!"); <BR>return false; <BR>} <BR>}else{ <BR>alert("学号非法!为5位数字!"); <BR>return false; <BR>} <BR>} <BR>//取消新增 <BR>function can(){ <BR>document.getElementById("xh").value=""; <BR>document.getElementById("xm").value=""; <BR>document.getElementById("xb").value=""; <BR>document.getElementById("jg").value=""; <BR>document.getElementById("ad").style.visibility="hidden"; <BR>document.getElementById("can").style.visibility="hidden"; <BR>document.getElementById("qmd").style.visibility="hidden"; <BR>document.getElementById("add").value="新增"; <BR>} <BR>//增加结点 <BR>function add_node(){ <BR>var oxh = xmlDoc.createElement("学号"); <BR>oxh.appendChild(xmlDoc.createTextNode(xh.value)); <BR>var oxm = xmlDoc.createElement("姓名"); <BR>oxm.appendChild(xmlDoc.createTextNode(xm.value)); <BR>var oxb = xmlDoc.createElement("性别"); <BR>oxb.appendChild(xmlDoc.createTextNode(xb.value)); <BR>var ojg = xmlDoc.createElement("籍贯"); <BR>ojg.appendChild(xmlDoc.createTextNode(jg.value)); <BR>var oxs = xmlDoc.createElement("学生"); <BR>oxs.appendChild(oxh); <BR>oxs.appendChild(oxm); <BR>oxs.appendChild(oxb); <BR>oxs.appendChild(ojg); <BR>var parent = xmlDoc.selectSingleNode("/学生管理"); <BR>if(parent.hasChildNodes()) { <BR>parent.insertBefore(oxs,parent.firstChild); <BR>}else{ <BR>parent.appendChild(oxs); <BR>} <BR>} <BR>//保存XML <BR>function saveXML(){ <BR>xmlDoc.save("stu.xml"); <BR>} <BR>//验证新增数据 <BR>function info_check(){ <BR>var renum = /^\d{5}$/; <BR>var rec = /^[\u4E00-\u9FA5]{2,5}$/; <BR>if(!renum.exec(document.getElementById("xh").value)){ <BR>alert("学号非法!为5位数字!"); <BR>return false; <BR>} <BR>if(!rec.exec(xm.value)){ <BR>alert("姓名非法!只能是中文最少两个字,最多不得超过5个字!"); <BR>return false; <BR>} <BR>//alert(xb.value!="男"); <BR>switch(xb.value){ <BR>case "男":break; <BR>case "女":break; <BR>default:alert("性别只能是\"男\"或\"女\"!"); return false; <BR>} <BR>if(!rec.exec(jg.value)){ <BR>alert("籍贯非法!只能是中文最少两个字,最多不得超过5个字!!"); <BR>return false; <BR>} <BR>return true; <BR>} <BR>//--> <BR></SCRIPT> <BR><input id="s" type=button value="显示学生信息" onclick="show();"> <BR><input id="que" type=button value="精确查询" onclick="que();"> <BR><input id="add" type=button value="新增" onclick="add();"> <BR><input id="can" type=button value="取消" onclick="can();" style="visibility:hidden"> <BR><br> <BR><center> <BR><div id="ad" style="visibility:hidden"> <BR><table><tr><td>学号: <BR><input type=text id="xh" style="ime-mode:disabled" size=5 maxlength=5 onKeyPress="if ((event.keyCode<48 || event.keyCode>57)) event.returnValue=false"><!-- style 用于光闭输入法 onKeyPress 只能输入数字--> <BR></td><td>姓名: <BR><input type=text id="xm" size=10 maxlength=5> <BR></td><td>性别: <BR><input type=text id="xb" size=5 maxlength=5> <BR></td><td>籍贯: <BR><input type=text id="jg" size=10 maxlength=5> <BR></td> <BR></tr> <BR></table> <BR></div> <BR><div id="qmd" style="visibility:hidden"> <BR><table> <BR><tr align="center"> <BR><td></td> <BR><td><input id="que" type=button value="查询" onclick="query();"></td> <BR><td><input id="mod" type=button value="修改" onclick="mod();"></td> <BR><td><input id="del" type=button value="删除" onclick="del();"></td> <BR></tr> <BR></table> <BR></div> <BR></center> <BR><div id="findPanel"> <BR><div id="findPanelTitle">可拖动</div> <BR><div id="findPanelContent"> <BR><input type="text" size="20" value="a" id="key" onkeydown="javascript:ChckSubmit(event);"> <BR><input type="button" value="查找" onclick="javascript:OnKeySubmit();"> <BR></div> <BR></div> <BR><script language="javascript"> <BR><!-- <BR>var findPanel = document.getElementById("findPanel"); <BR>var findPanelTitle = document.getElementById("findPanelTitle"); <BR>var findPanelContent = document.getElementById("findPanelContent"); <BR>var findPanel_orgnX = 50; <BR>var findPanel_orgnY = 50; <BR>//设置物件位置 <BR>findPanel.style.pixelLeft = document.body.scrollLeft + findPanel_orgnX; <BR>findPanel.style.pixelTop = document.body.scrollTop + findPanel_orgnY; <BR>//================================================================================ <BR>var foundCnt = 0; //已经找到了的结果的数量 <BR>//查找入口函数 <BR>function Find(key) <BR>{ <BR>if (key == "") <BR>{ <BR>return; <BR>} <BR>if (document.all) <BR>{ <BR>IEFind(key); <BR>} <BR>else <BR>{ <BR>NSFind(key); <BR>} <BR>} <BR>//浏览器为 IE 系列 <BR>function IEFind(key) <BR>{ <BR>var rng = document.body.createTextRange(); <BR>var found = false; <BR>for (var i=0; i<=foundCnt && (found=rng.findText(key)); i++) <BR>{ <BR>rng.moveStart("character", 1); //找到,后移一位以查找下一个 <BR>} <BR>if (found) <BR>{ <BR>rng.moveStart("character", -1); <BR>rng.findText(key); <BR>rng.select(); <BR>rng.scrollIntoView(); <BR>foundCnt++; <BR>} <BR>else <BR>{ <BR>if (foundCnt > 0) <BR>{ <BR>//已经查找一遍,找到有符合条件的结果,重新开始查找 <BR>foundCnt = 0; <BR>IEFind(key); <BR>} <BR>else <BR>{ <BR>//已经查找一遍,没有找到符合条件的结果 <BR>alert("文档搜索完毕。"); <BR>} <BR>} <BR>} <BR>//浏览器为 NS 系列 <BR>function NSFind(key) <BR>{ <BR>if (window.find(key)) <BR>{ <BR>foundCnt++; <BR>} <BR>else <BR>{ <BR>var found = false; <BR>while (window.find(key, false, true)) <BR>{ <BR>found = true; <BR>} <BR>if (found) <BR>{ <BR>//已经查找一遍,找到有符合条件的结果,重新查找也已经开始 <BR>foundCnt = 1; <BR>} <BR>else <BR>{ <BR>//已经查找一遍,没有找到符合条件的结果 <BR>alert("文档搜索完毕。"); <BR>} <BR>} <BR>} <BR>function OnKeySubmit() <BR>{ <BR>var key = document.getElementById("key"); <BR>Find(key.value); <BR>} <BR>function ChckSubmit(e) <BR>{ <BR>if (e.keyCode == 13) <BR>{ <BR>OnKeySubmit(); <BR>} <BR>} <BR>//================================================================================ <BR>function RePosFindPanel() <BR>{ <BR>findPanel.style.pixelLeft = document.body.scrollLeft + findPanel_orgnX; <BR>findPanel.style.pixelTop = document.body.scrollTop + findPanel_orgnY; <BR>} <BR>document.body.onscroll = RePosFindPanel; <BR>document.body.onresize = RePosFindPanel; <BR>//================================================================================ <BR>//拖拽过程中相关变量 <BR>var draging = false; //是否处于拖拽中 <BR>var offsetX = 0; //X方向左右偏移量 <BR>var offsetY = 0; //Y方向上下偏移量 <BR>//准备拖拽 <BR>function BeforeDrag() <BR>{ <BR>if (event.button != 1) <BR>{ <BR>return; <BR>} <BR>offsetX = document.body.scrollLeft + event.clientX-findPanel.style.pixelLeft; <BR>offsetY = document.body.scrollTop + event.clientY-findPanel.style.pixelTop; <BR>draging = true; <BR>} <BR>//拖拽中 <BR>function OnDrag() <BR>{ <BR>if(!draging) <BR>{ <BR>return; <BR>} <BR>//更新位置 <BR>findPanel_orgnX = event.clientX-offsetX; <BR>findPanel_orgnY = event.clientY-offsetY; <BR>event.returnValue = false; <BR>findPanel.style.pixelLeft = document.body.scrollLeft + event.clientX-offsetX; <BR>findPanel.style.pixelTop = document.body.scrollTop + event.clientY-offsetY; <BR>} <BR>//结束拖拽 <BR>function EndDrag() <BR>{ <BR>if (event.button != 1) <BR>{ <BR>return; <BR>} <BR>draging = false; <BR>} <BR>findPanelTitle.onmousedown = BeforeDrag; <BR>document.onmousemove = OnDrag; <BR>findPanelTitle.onmouseup = EndDrag; <BR>//--> <BR></script> <BR><xml id="stu" src="/UploadFiles/2021-04-08/stu.xml"></xml> <BR><center> <BR><div id="info" style="visibility:hidden"> <BR><table DATASRC=#stu border=1 style="background-color:#a9eeef; Border-color <BR>:red;" > <BR><caption><h2>学生信息管理</h2></caption> <BR><thead>  <BR><th>学号</th> <BR><th>姓名</th>   <BR><th>性别</th>   <BR><th>籍贯</th>  <BR></thead>  <BR><tr>  <BR><td>   <BR><div DATAFLD="学号">   <BR></td>   <BR><td>   <BR><div DATAFLD="姓名"> <BR></td>   <BR><td>   <BR><div DATAFLD="性别">   <BR></td>   <BR><td>   <BR><div DATAFLD="籍贯">  <BR></td>  <BR></tr>  <BR></table> <BR></div> <BR></center> <BR></body> <BR></html> <BR> <BR>xml文件如下(stu.xml) <BR><U>复制代码</U> 代码如下: <BR><?xml version="1.0" encoding="gb2312"?> <BR><学生管理> <BR><学生> <BR> <学号>97001</学号> <BR> <姓名>王五</姓名> <BR> <性别>男 </性别> <BR> <籍贯>上海</籍贯> <BR></学生> <BR><学生> <BR> <学号>97002</学号> <BR> <姓名>李四 </姓名> <BR> <性别>男 </性别> <BR> <籍贯>浙江 </籍贯> <BR></学生> <BR><学生> <BR>  <学号>97006 </学号> <BR>  <姓名>张三 </姓名> <BR>  <性别>男</性别> <BR>  <籍贯>浙江</籍贯> <BR></学生> <BR></学生管理> <BR> </P></div> </div> </div> <div class="share"> </div> <div class="nextinfo"> <p>上一篇:<a href="/3g/1/169349.html" title="用来猜后台的HTA小程序">用来猜后台的HTA小程序</a></p> <p>下一篇:<a href="/3g/1/169351.html" title="XMLDOM下载者生成器代码(xmldown.hta)">XMLDOM下载者生成器代码(xmldown.hta)</a></p> </div> <div class="otherlink"> <h2>最新资源</h2> <ul> <li><a href="/3g/1/623703.html" title="群星《奔赴!万人现场 第2期》[FLAC/分轨]">群星《奔赴!万人现场 第2期》[FLAC/分轨]</a></li> <li><a href="/3g/1/623702.html" title="群星《奇妙浪一夏 (上海迪士尼度假区音乐">群星《奇妙浪一夏 (上海迪士尼度假区音乐</a></li> <li><a href="/3g/1/623701.html" title="群星《奇妙浪一夏 (上海迪士尼度假区音乐">群星《奇妙浪一夏 (上海迪士尼度假区音乐</a></li> <li><a href="/3g/1/623700.html" title="【古典音乐】詹姆斯·高威《季节》1993[WA">【古典音乐】詹姆斯·高威《季节》1993[WA</a></li> <li><a href="/3g/1/623699.html" title="贝拉芳蒂《卡里普索之王》SACD[WAV+CUE]">贝拉芳蒂《卡里普索之王》SACD[WAV+CUE]</a></li> <li><a href="/3g/1/623698.html" title="小骆驼-《草原狼2(蓝光CD)》[原抓WAV+CUE">小骆驼-《草原狼2(蓝光CD)》[原抓WAV+CUE</a></li> <li><a href="/3g/1/623697.html" title="群星《欢迎来到我身边 电影原声专辑》[32">群星《欢迎来到我身边 电影原声专辑》[32</a></li> <li><a href="/3g/1/623696.html" title="群星《欢迎来到我身边 电影原声专辑》[FL">群星《欢迎来到我身边 电影原声专辑》[FL</a></li> <li><a href="/3g/1/623695.html" title="雷婷《梦里蓝天HQⅡ》 2023头版限量编号低">雷婷《梦里蓝天HQⅡ》 2023头版限量编号低</a></li> <li><a href="/3g/1/623694.html" title="群星《2024好听新歌42》AI调整音效【WAV分">群星《2024好听新歌42》AI调整音效【WAV分</a></li> </ul> </div> </div> <div class="sidebar"> <div class="cloud"><h2 class="hometitle">一句话新闻</h2><a href="/3G/1/604673.html"><ul>高通与谷歌联手!首款骁龙PC优化Chrome浏览器发布<br><br>高通和谷歌日前宣布,推出首次面向搭载骁龙的Windows PC的优化版Chrome浏览器。<br>在对骁龙X Elite参考设计的初步测试中,全新的Chrome浏览器在Speedometer 2.1基准测试中实现了显著的性能提升。<br>预计在2024年年中之前,搭载骁龙X Elite计算平台的PC将面世。该浏览器的提前问世,有助于骁龙PC问世就获得满血表现。<br>谷歌高级副总裁Hiroshi Lockheimer表示,此次与高通的合作将有助于确保Chrome用户在当前ARM兼容的PC上获得最佳的浏览体验。</ul></a></div> <div class="cloud"><h2 class="hometitle">标签云</h2><ul><a href="/search.asp?key=1080P高清&m=1">1080P高清<span>(5)</span></a><a href="/search.asp?key=高清电影&m=1">高清电影<span>(5)</span></a><a href="/search.asp?key=百度云盘&m=1">百度云盘<span>(5)</span></a><a href="/search.asp?key=网盘下载&m=1">网盘下载<span>(4)</span></a><a href="/search.asp?key=破解软件&m=1">破解软件<span>(4)</span></a><a href="/search.asp?key=绿色软件&m=1">绿色软件<span>(4)</span></a><a href="/search.asp?key=磁力链接&m=1">磁力链接<span>(3)</span></a><a href="/search.asp?key=强度天梯&m=1">强度天梯<span>(3)</span></a><a href="/search.asp?key=福利资源&m=1">福利资源<span>(2)</span></a><a href="/search.asp?key=王者荣耀&m=1">王者荣耀<span>(2)</span></a><a href="/search.asp?key=黑钻活动&m=1">黑钻活动<span>(2)</span></a><a href="/search.asp?key=WPS会员&m=1">WPS会员<span>(2)</span></a><a href="/search.asp?key=刷图排行&m=1">刷图排行<span>(1)</span></a><a href="/search.asp?key=网盘限速&m=1">网盘限速<span>(1)</span></a><a href="/search.asp?key=鬼灭之刃&m=1">鬼灭之刃<span>(1)</span></a><a href="/search.asp?key=免费韩国漫画&m=1">免费韩国漫画<span>(1)</span></a><a href="/search.asp?key=宫本重做&m=1">宫本重做<span>(1)</span></a><a href="/search.asp?key=免费动漫&m=1">免费动漫<span>(1)</span></a></ul></div> </div> <div class="sidebar"> 友情链接:<a href="http://www.imxmx.com/" title="杰晶网络" target="_blank">杰晶网络</a> <a href="/" title="DDR爱好者之家" target="_blank">DDR爱好者之家</a> <a href="http://www.nqxw.com/" title="南强小屋" target="_blank">南强小屋</a> <a href="http://www.paidiu.com/" title="黑松山资源网" target="_blank">黑松山资源网</a> <a href="http://www.dyhadc.com/" title="白云城资源网" target="_blank">白云城资源网</a> <a href="/sitemap1.xml">站点地图</a> <a href="/sitemap.xml">SiteMap</a> </div> </article> <footer> <p>Design by <a href="http://m.ddrfans.com">DDR爱好者之家</a> <a href="http://m.ddrfans.com">http://m.ddrfans.com</a></p> </footer> <script src="/images3g/nav.js"></script> <script type="text/javascript"> jQuery.noConflict(); jQuery(function() { var elm = jQuery('#left_flow2'); var startPos = jQuery(elm).offset().top; jQuery.event.add(window, "scroll", function() { var p = jQuery(window).scrollTop(); jQuery(elm).css('position', ((p) > startPos) ? 'fixed' : ''); jQuery(elm).css('top', ((p) > startPos) ? '0' : ''); }); }); </script> </body> </html>