此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
楼主【maddemon】截止到2008-06-30 14:05:13的历史汇总数据(不包括此帖):
发帖数:5 发帖分:191
结贴数:4 结贴分:190
未结数:1 未结分:1
结贴率:80.00 % 结分率:99.48 %
楼主加油
楼主【maddemon】截止到2008-06-30 14:05:13的历史汇总数据(不包括此帖):
发帖数:5 发帖分:191
结贴数:4 结贴分:190
未结数:1 未结分:1
结贴率:80.00 % 结分率:99.48 %
楼主加油
var curPath=location.pathname.toLowerCase();
var leftmenus=document.getElementById("menu").getElementsByTagName("div").item(0).firstChild.childNodes;
var rightmenus=document.getElementById("menu").getElementsByTagName("div").item(1).firstChild.childNodes;
//var searchOption=document.getElementById(
//首页 供应 求购 企业黄页 服务 工作
// / sell buy company service job
if(curPath=='/' || curPath=='/index.htm')
{
setMenu(0,0);
}
else if(curPath.indexOf('sell')>0)
{
setMenu(1,0);
}
else if(curPath.indexOf('buy')>0)
{
setMenu(2,0);
}
else if(curPath.indexOf('company')>0)
{
setMenu(3,0);
}
else if(curPath.indexOf('service')>0)
{
setMenu(4,0);
}
else if(curPath.indexOf('job')>0)
{
setMenu(5,0);
}
else if(curPath.indexOf('news')>0 || curPath.indexOf('daogou')>0)
{
setMenu(0,1);
}
else if(curPath.indexOf('help')>0)
{
setMenu(2,1);
}
else if(curPath.indexOf('member')>0)
{
setMenu(2,1);
}
function setMenu(id,leftorright)
{
for(var i=0;i<leftmenus.length;i++)
{
leftmenus.item(i).className='out';
}
for(var i=0;i<rightmenus.length;i++)
{
rightmenus.item(i).className='out';
}
if(leftorright==0)
leftmenus.item(id).className='over';
else if(leftorright==1)
rightmenus.item(id).className='over';
}