www.gusucode.com > 漂亮的地方旅游景点景观介绍网站源代码 > admin/inc/menu.js
var Obj; var imgOpen = new Image() var imgClose = new Image() imgOpen.src="/images/admin/2.gif" imgClose.src="/images/admin/1.gif" function expand(el) { Obj = eval("child"+el) var whichEl = (event) ? event.srcElement : false if(!whichEl.name) whichEl = eval("document.all.img" + el) if(Obj.style.display == "none") { Obj.style.display = "block" whichEl.src = imgOpen.src } else { Obj.style.display = "none" whichEl.src = imgClose.src } } function switchbar() { if (switchpoint.innerText==3) { switchpoint.innerText=4 document.all("xxx").style.display="none" top.content.cols="10,*" } else { switchpoint.innerText=3 document.all("xxx").style.display="" top.content.cols="180,*" } }