is creating an editable guide to websites
Have an account? Log In
No recent contributors.
Be the first to edit!
Website Information

tongtu.net

Visit Website
Domain Info

DomainTools.com

Map

Map instructions
AboutUs Badges

YouCanEditBadge.png
Badge instructions

Title edit

通途网――个人主页,免费空间,免费主页,免费个主页,免费主页空间,网页制作,个人网页,申请论坛,留言薄,相册,同学录,相册图片,flash

Description edit

/g,"lshdicstr3")+"')>"+str3[0]+" " //MOVEOVER时调用二级菜单显示函数MOVESE2,replace是将指定网址中的特殊字符替换为预定字符 }} cleartime=setTimeout('happydiv.style.display="none";happydiv2.style.display="none"',2000) //一切完毕后加上定时关闭菜单,可选 } function movese2(menustr2,menuhref2){ //二级菜单的显示函数,menustr2=菜单要显示的文本,menuhref=菜单文本对应的网址 happydiv2.style.display=; //第一步自然是先显示二级菜单的容器表格 if(cleartime!=1)clearTimeout(cleartime) //第二步自然是清除定时器关闭的设置 happydiv2.style.posLeft=happydiv.offsetLeft+happydiv.offsetWidth; //二级菜单定位"左" temptop1=event.srcElement.parentElement.parentElement happydiv2.style.posTop=happydiv.offsetTop+(temptop1.offsetHeight*temptop1.rowIndex) //二级菜单定位"上",根据一级菜单中单个TD的高度*第几个计算 for(i=0;happydiv2.rows.length;i++)happydiv2.deleteRow() //定位完毕,开始显示数据,首先要清除以显示的TD str3=menustr2.split('**');str4=menuhref2.split('**') //然后分解构成二级菜单的数据 for(i=1;i

tdstr2.innerHTML="<').replace(/lshdicstr2/g,' ').replace(/lshdicstr3/g,'>')+"'>"+str3[i]+"" //设定具体显示的数据,replace将预定字符替换过来 } cleartime=setTimeout('happydiv.style.display="none";happydiv2.style.display="none"',2000) //一切完毕后加上定时关闭菜单,可选 } function over1(){ //一,二级菜单中MOVEOVER事件时使用本函数定义菜单效果 if(event.srcElement.tagName=="TD"){event.srcElement.bgColor='eeeeee';event.srcElement.style.borderTop='1 solid'; event.srcElement.style.borderBottom='1 solid'}else if(event.srcElement.tagName=="FONT"||event.srcElement.tagName=="A"){ event.srcElement.parentElement.bgColor='eeeeee';event.srcElement.parentElement.style.borderTop='1 solid'; event.srcElement.parentElement.style.borderBottom='1 solid'} } function out1(){ //一,二级菜单中MOVEOUT事件时使用本函数定义菜单效果 if(event.srcElement.tagName=="TD"){event.srcElement.bgColor=;event.srcElement.style.borderTop=; event.srcElement.style.borderBottom= }else if(event.srcElement.tagName=="FONT"||event.srcElement.tagName=="A"){event.srcElement.parentElement.bgColor=; event.srcElement.parentElement.style.borderTop=;event.srcElement.parentElement.style.borderBottom=} } function click1(){ //一,二级菜单时CLICK单击事件时使用本函数转到指定网址 if(event.srcElement.tagName=="TD")location.href=event.srcElement.all.tags('A')(0).href } function over2(){ //基本的HTML导航栏在MOUSEOVER时使用本函数,设定背景,并清除定时关闭 if(event.srcElement.tagName=="TD"){if(cleartime!=1)clearTimeout(cleartime)} } function out2(){ //基本的HTML导航栏在MOUSEOUT时使用本函数,设定背景,并加上定时关闭菜单的效果 if(event.srcElement.tagName=="TD"){event.srcElement.bgColor=; cleartime=setTimeout('happydiv.style.display="none";happydiv2.style.display="none"',500)} } function click2(){ //基本的HTML导航栏在CLICK单击时转到的网址,目标网址使用自定义的HTML属性GOTO做目标 location.href=event.srcElement.goto } function document.onclick(){ //页面单击时关闭所有菜单 happydiv.style.display='none';happydiv2.style.display='none' }

Languages edit

中文 (Chinese)

Contact edit

beijingtongtuxinxijishuyouxiangongsi kongming@tongtu.com.cn +86.01068434506

Additional Information edit

Related Domains edit

External Links edit

Tags edit