以下内容为程序代码:<SCRIPT language=JavaScript>
function bookmarkit(){window.external.addFavorite('http://www.6ds.net','六度空间')}if (document.all)document.write('加入收藏')加入收藏 http://www.6ds.net 永久域名:6d.126.com | 首页var mmenus = new Array();var misShow = new Boolean(); misShow=false;var misdown = new Boolean();misdown=false;var musestatus=false;var mpopTimer = 0;mmenucolor='#F5F5F5';mfontcolor='';mmenuoutcolor='#CCCACA';mmenuincolor='';mmenuoutbordercolor='';mmenuinbordercolor='#000000';mmidoutcolor='';mmidincolor='';mmenuovercolor='#000000';mitemedge='0';msubedge='0';mmenuunitwidth=100;mmenuitemwidth=100;mmenuheight=0;mmenuwidth='100%';mmenuadjust=0;mmenuadjustV=-9;mfonts='font-family: 宋体; font-size: 9pt; color: #000000; ';mcursor='hand';var fadeSteps = 5;var fademsec = 20;var fadeArray = new Array();function fade(el, fadeIn, steps, msec) { if (steps == null) steps = fadeSteps; if (msec == null) msec = fademsec; if (el.fadeIndex == null) el.fadeIndex = fadeArray.length; fadeArray[el.fadeIndex] = el; if (el.fadeStepNumber == null) { if (el.style.visibility == "hidden") el.fadeStepNumber = 0; else el.fadeStepNumber = steps; if (fadeIn) el.style.filter = "Alpha(Opacity=0)"; else el.style.filter = "Alpha(Opacity=80)"; } window.setTimeout("repeatFade(" + fadeIn + "," + el.fadeIndex + "," + steps + "," + msec + ")", msec);}function repeatFade(fadeIn, index, steps, msec) { el = fadeArray[index]; c = el.fadeStepNumber; if (el.fadeTimer != null) window.clearTimeout(el.fadeTimer); if ((c == 0) && (!fadeIn)) { el.style.visibility = "hidden"; return; } else if ((c==steps) && (fadeIn)) { el.style.filter = "Alpha(Opacity=80);"; el.style.visibility = "visible"; return; } else { (fadeIn) ? c++ : c--; el.style.visibility = "visible"; el.style.filter = "Alpha(Opacity=" + 80*c/steps + ")"; el.fadeStepNumber = c; el.fadeTimer = window.setTimeout("repeatFade(" + fadeIn + "," + index + "," + steps + "," + msec + ")", msec); }}function stoperror(){return true;}window.onerror=stoperror;function mpopOut() {mpopTimer = setTimeout('mallhide()', 500);}function getReal(el, type, value) { temp = el; while ((temp != null) && (temp.tagName != "BODY")) { if (eval("temp." + type) == value) { el = temp; return el; } temp = temp.parentElement; } return el;}function mMenuRegister(menu) { mmenus[mmenus.length] = menu return (mmenus.length - 1)}function mMenuItem(caption,command,target,isline,statustxt,img,sizex,sizey,pos){ this.caption=caption; this.command=command; this.target=target; this.isline=isline; this.statustxt=statustxt; this.img=img; this.sizex=sizex; this.sizey=sizey; this.pos=pos;}function mMenu(caption,command,target,img,sizex,sizey,pos){ this.items = new Array(); this.caption=caption; this.command=command; this.target=target; this.img=img; this.sizex=sizex; this.sizey=sizey; this.pos=pos; this.id=mMenuRegister(this);}function mMenuAddItem(item){ this.items[this.items.length] = item item.parent = this.id; this.children=true;}mMenu.prototype.addItem = mMenuAddItem;function mtoout(src){src.style.borderLeftColor=mmenuoutbordercolor;src.style.borderRightColor=mmenuinbordercolor;src.style.borderTopColor=mmenuoutbordercolor;src.style.borderBottomColor=mmenuinbordercolor;src.style.backgroundColor=mmenuoutcolor;src.style.color=mmenuovercolor;}function mtoin(src){src.style.borderLeftColor=mmenuinbordercolor;src.style.borderRightColor=mmenuoutbordercolor;src.style.borderTopColor=mmenuinbordercolor;src.style.borderBottomColor=mmenuoutbordercolor;src.style.backgroundColor=mmenuincolor;src.style.color=mmenuovercolor;}function mnochange(src){src.style.borderLeftColor=mmenucolor;src.style.borderRightColor=mmenucolor;src.style.borderTopColor=mmenucolor;src.style.borderBottomColor=mmenucolor;src.style.backgroundColor='';src.style.color=mfontcolor;}function mallhide(){ for(var nummenu=0;nummenudocument.body.clientWidth+document.body.scrollLeft)menuid.style.left=document.body.clientWidth+document.body.scrollLeft-mmenuitemwidth;fade(menuid,true,6);misShow=true;}function mmenu_over(menuid,x){toel = getReal(window.event.toElement, "className", "coolButton");fromel = getReal(window.event.fromElement, "className", "coolButton");if (toel == fromel) return;if(x' for(var x=0;x"+ifspace+thismenu.caption+""; }else if(thismenu.pos=="1"){ stringx += " align=center>"+thismenu.caption+ifspace+""; }else if(thismenu.pos=="2"){ stringx += " align=center background='"+thismenu.img+"'>"+thismenu.caption+""; }else{ stringx += " align=center>"+thismenu.caption+""; } stringx += ""; } stringx+=""; for(var x=0;x'; }else{ stringx+='\n'+ '\n' for(var i=0;i"+ifspace+thismenuitem.caption+""; }else if(thismenuitem.pos=="1"){ stringx += ">"+thismenuitem.caption+ifspace+""; }else if(thismenuitem.pos=="2"){ stringx += "background='"+thismenuitem.img+"'>"+thismenuitem.caption+""; }else{ stringx += ">"+thismenuitem.caption+""; } }else{ stringx+='\n'; } }stringx+='\n' } } document.write(""+stringx+"");}function mcheckLocation(){if(isNaN(mmenuwidth))mmenuwidth=document.body.clientWidth*parseInt(mmenuwidth.substring(0,3))/100;ym=eval(document.body.scrollTop)+0;xm=eval(document.body.scrollLeft)+0;y=mmenutable.style.pixelTop;x=mmenutable.style.pixelLeft;if(Math.abs(ym-y)>1)mmenutable.style.pixelTop=y+=(ym-y)/5;else mmenutable.style.pixelTop=y=ym;if(Math.abs(xm-x)>1)mmenutable.style.pixelLeft=x+=(xm-x)/5;else mmenutable.style.pixelLeft=x=xm;setTimeout("mcheckLocation()",10);}mpmenu12=new mMenu('| 设计教程 ','type.asp?typeID=12','self','','','','');mpmenu12.addItem(new mMenuItem(' 3D软件','bigclass.asp?typeid=12&bigclassid=26','self',false,'3D软件','','','',''));mpmenu12.addItem(new mMenuItem(' 2D软件','bigclass.asp?typeid=12&bigclassid=27','self',false,'2D软件','','','',''));mpmenu12.addItem(new mMenuItem(' 其它软件','bigclass.asp?typeid=12&bigclassid=28','self',false,'其它软件','','','',''));mwritetodocument();mcheckLocation(); | 设计教程 3D软件 2D软件 其它软件| 六度专题 | 设计论坛 | 给我留言 |论坛入口
用户名称: 用户密码:
[进入] [用户注册] [忘密]
热门教程无论坛导航
<script>