|
| |
精品推荐 |
 |
|
| |
|
|
|
|
具有渐变效果的下拉菜单特效代码[网页特效]
|
日期:2007年7月23日 作者: 查看:[大字体
中字体 小字体]
|
var w=m.sfrm;
if(w!=window)
m=w.stmenu(m.mnam);
if(m.hdid)
{
w.clearTimeout(m.hdid);
m.hdid=null;
}
var cii=stgpar(i).citi;
var ci=null;
if(cii>=0)
ci=stgpar(i).is[cii];
var p=stgpar(i);
if(!p.isckstgme(i).cked)
{
if(p.citi!=i.iti)
{
if(p.citi>=0)
{
sthdit(p.is[p.citi]);
p.citi=-1;
}
stshit(i);
p.citi=i.iti;
}
else
{
var p=stgtsub(i);
if(p&&!p.issh)
stshit(i);
}
}
if(i.istt)
window.status=i.istt;
}
function stitou(e,o,i)
{
if(nIEW)
{
if(!stgpar(i).isshe.toElement&&o.contains(e.toElement))
return;
}
else
{
if(!stgpar(i).issh(!nNN&&(e.toElement&&e.toElement.id&&e.toElement.id.indexOf(i.ids)>=0)))
return;
}
if(nNN4)
stglay(i).document.layers[0].releaseEvents(Event.CLICK);
var p=stgtsub(i);
if(!p!p.issh)
{
stshst(i,0);
stgpar(i).citi=-1;
}
else if(p&&p.issh&&!p.exed)
sthdit(i);
window.status="";
}
function stitck(e,o,i)
{
if(e.button&&e.button>=2)
return;
var m=stgme(i);
var p=stgpar(i);
if(p.isck)
{
m.cked=!m.cked;
if(m.cked)
{
stshit(i);
p.citi=i.iti;
}
else
{
sthdit(i);
p.citi=-1;
}
}
if(!nNN4&&!(p.isck&&stgsub(i))&&i.iurl)
{
if(i.iurl.toLowerCase().indexOf("javascript:")==0)
eval(i.iurl.substring(11,i.iurl.length));
else if(i.itgt=="_self")
window.location.href=i.iurl;
else if(i.itgt=="_parent")
window.parent.location.href=i.iurl;
else if(i.itgt=="_top")
window.top.location.href=i.iurl;
else
{
for(var co=window;co!=co.parent;co=co.parent)
{
if(typeof(co.parent.frames[i.itgt])!="undefined")
{
co.parent.frames[i.itgt].location.href=i.iurl;
return;
}
}
window.open(i.iurl,i.itgt);
}
}
}
function stppov(e,o,p)
{
if(nIEW)
{
if(!p.layer)
p.layer=o;
if(!p.issh(e.fromElement&&o.contains(e.fromElement)))
return;
}
else
{
if(!p.issh(!nNN&&(e.fromElement&&e.fromElement.id&&e.fromElement.id.indexOf(p.ids)>=0)))
return;
}
var m=stgme(p);
var w=m.sfrm;
if(w!=window)
m=w.stmenu(m.mnam);
if(m.hdid)
{
w.clearTimeout(m.hdid);
m.hdid=null;
}
}
function stppou(e,o,p)
{
if(nIEW)
{
if(!p.issh(e.toElement&&o.contains(e.toElement)))
return;
}
else
{
if(!p.issh(!nNN&&(e.toElement&&e.toElement.id&&e.toElement.id.indexOf(p.ids)>=0)))
上一篇:下拉透明的菜单代码[网页特效]
下一篇:向上收缩并隐藏的Fash广告代码
|
| 具有渐变效果的下拉菜单特效代码[网页特效] 相关文章: |
|
|
|
| 具有渐变效果的下拉菜单特效代码[网页特效] 相关软件: |
|
|
|
|