<div class="codetitle"> <span><a style="CURSOR: pointer" data="13749" class="copybut" id="copybut13749" onclick="doCopy('code13749')"><u>코드 복사</u></a></span> 코드는 다음과 같습니다.</div> <div class="codebody" id="code13749"> <br><SCRIPT language=JavaScript> <br><!-- <BR> var layerTop=15; //菜单顶边距 <BR> var layerLeft=20; //菜单左边距 <BR> var layerWidth=160; //菜单总宽 <BR> var titleHeight=26; //标题栏高度 <BR> var contentHeight=150; //内容区高度 <BR> var stepNo=10; //移动步数,数值越大移动越慢 <br><br> var itemNo=0;runtimes=0; <BR> document.write('<span id=itemsLayer style="position:absolute;overflow:hidden;border:1px solid #183789;left:'+layerLeft+';top:'+layerTop+';width:'+layerWidth+';">'); <br><br> function addItem(itemTitle,itemContent){ <br> itemHTML='<div id=item'+itemNo+' itemIndex='+itemNo+' style="position:relative;left:0;top:'+(-contentHeight*itemNo)+';width:'+layerWidth+';"><table width=100% cellspacing="0" cellpadding="0">'+ <br> '<tr><td height='+titleHeight+' onclick=changeItem('+itemNo+') class="titleStyle" align=center>'+itemTitle+'</td></tr>'+ <br> '<tr><td height='+contentHeight+' class="contentStyle">'+itemContent+'</td></tr></table></div>'; <br> document.write(itemHTML); <br> itemNo++; <br> } <br> //添加菜单标题和内容,可任意多项,注意格式: <br> addItem('<img src="../images/guanli.gif"><br><b><font color="#ffffff"><a href="admin_index.asp" target=_top><font color="#ffffff">管理首页</font></a> | <a href="logout.asp" target="_top"><font color="#ffffff">退出</font></a></font></b>','<DIV STYLE="PADDING-LEFT:15px">☉ <a href="zhuangtai.asp" target="right">商铺状态设置</a><br>☉ <a href="admin_right.asp?action=modify" target="right">管理我的商品</a> | <a href="admin_right.asp?action=addclass" target="right">添加</a><BR>☉ <a href="admin_right.asp?action=glnews" target="right">管理我的新闻</a> | <a href="admin_right.asp?action=addnews" target="right">添加</a><BR>☉ <a href="admin_right.asp?action=fk" target="right">查看我的留言</a><br>☉ <a href="editdingdan.asp" target="right">网上订单</a><br>☉ <a href="quebook.asp" target="right">缺货提醒</a><br></DIV>'); <br> addItem('<b><font color="#ffffff">信息修改</font></b>','<DIV STYLE="PADDING-LEFT:15px">☉ <a href="admin_right.asp?action=fkfs" target="right">付款方式修改</a><BR>☉ <a href="admin_right.asp?action=ps" target="right">配送说明修改</a><BR>☉ <a href="admin_right.asp?action=shjintr" target="right">商家简介修改</a><BR>☉ <a href="admin_right.asp?action=gong" target="right">修改我的公告</a><br></DIV>'); <br> addItem('<b><font color="#ffffff">비즈니스 설정</font></b>','<DIV STYLE="PADDING-LEFT: 15px ">☉ <a href="admin_right.asp?action=myziliao" target="right">업체 정보 수정</a><br>☉ <a href="admin_right.asp?action =pass " target="right">판매자 비밀번호 수정</a><br>☉ <a href="admin_right.asp?action=url" target="right">판매자 2차 도메인 이름< /a> ;<br>☉ <a href="admin_right.asp?action=logo" target="right">판매자 로고 수정</a><br>☉ <a href="tjbb.asp " target ="right">상품 판매 통계</a><br></DIV>') <br> addItem('<b><font color="#ffffff">기타 설정</ 글꼴></b>','<DIV STYLE="PADDING-LEFT:15px">☉ <a href="shjclass.asp" target="right">상품 카테고리 관리< ;/a>< ;br>☉ <a href="tuangou/index.asp" target="right">그룹 구매 주문 관리</a><br>☉ <a href="banner.asp " target="right ">홈페이지 배너 관리</a><br></DIV>'); <br><br> addItem('<b><font color="#ffffff" >판매자 인증</ 글꼴></b>','<DIV STYLE="PADDING-LEFT:15px">☉ <a href="../help3.asp#2" target=" right">사업자 등록 증명서< ;/a><br>☉ <a href="../help3.asp#7" target="right">전화 인증</a><br> ☉ 다이아몬드 인증<br>☉ VIP 인증< ;br></DIV>') <br> addItem('<b><font color="#ffffff">도움말 정보</font> </b>','<DIV STYLE ="PADDING-LEFT:15px">☉ <a href="../help2.asp#2" target="right">뉴스 도움말 관리< /a><br>☉ <a href= "../help2.asp#7" target="right">정보 수정 도움말</a><br>☉ <a href=". ./help2.asp#6" target="right"> ;품절 정보 도움말</a><br>☉ <a href="../help2.asp" target="right">판매자 운영 도움말</a><br></DIV> ;'); <br> addItem('<b><font color="#ffffff">저작권 정보</font></ b>','<DIV STYLE="PADDING-LEFT:15px ">저작권<BR> ® 동관 몰<BR>비즈니스 연락처<BR>QQ: 234252308<br>24시간 고객 서비스<br> ; 0769-21252157<br><a href="mailto:web@vcidc. com ">web#vcidc.com </a></DIV>'); <br> document.write('< ;/span>') <br> document.all.itemsLayer.style.height= itemNo*titleHeight contentHeight 38 <br><br> toItemIndex=itemNo-1;onItemIndex=itemNo-1; <br><br> functionchangeItem(clickItemIndex){ <br> toItemIndex=clickItemIndex- onItemIndex>0) moveUp(); else moveDown(); <br> if(runtimes>=stepNo){ <br> onItemIndex=toItemIndex;} <br> else <br> setTimeout("changeItem(toItemIndex)",10); <br> } <br><br> function moveUp(){ <br> for(i=onItemIndex 1;i<=toItemIndex;i ) <br> eval( 'document.all.item' i '.style.top=parseInt(document.all.item' i '.style.top)-contentHeight /stepNo;') <br> } <BR><BR> function moveDown( ){ <BR> for(i=onItemIndex;i>toItemIndex;i--) <br> eval('document.all.item' i '.style.top=parseInt(document.all.item' i '.style .top) contentHeight/stepNo;'); <br> } <br>changeItem(0) <br>//--><br></SCRIPT><br><br> </div>