点击显示隐藏菜单,动画效果,半透明,支持所有浏览器

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<link href="yiwu/styleG3.css" rel="stylesheet" type="text/css">
<SCRIPT language=javascript
src="yiwu/ae.js"
charset=iso-8859-1></SCRIPT>
</HEAD>
<BODY>
<div style="height:100px;"></div>
<DIV class="sideMenu haveBanner">
<BR>
<SCRIPT language=javascript type=text/javascript>

var zConfig={
showConfig:{
width: {to: 532},
opacity: {to: 1 }
},
hiddenConfig:{
width: {to: 0},
opacity: {to: 0 }
},
showTime:1,
hiddenTime:1,
sFireEvent:"click",
oAppliedFunction:YAHOO.util.Easing.easeOutStrong
}
var showAllCategory=new floatDiv();

YUE.on(window,"load",function(){
if(get('MiniMPTitem')){
var fixHeight = get('MiniMPTitem').offsetHeight;

if(fixHeight<320){fixHeight=320;}
get('MinimoreProductTeam').style.height=fixHeight+"px";
get('moreProductTeam').style.height=fixHeight+"px";
get('MinimoreProductMaskIframe').style.height=fixHeight+"px";
get('moreProductTeam').style.display="none";

var xy = [-128,-135];
if(!AE.browse.isIE){xy = [-128,-108]}


var targetXY = YUD.getXY('moreProductTeamBtn');

var midW = YUD.getViewportWidth()/2;
var isLeft = targetXY[0] < midW;
var standX ;
if(isLeft){
standX = YUD.getX(YUD.getElementsByClassName('customGroup','div',get('mainContent'))[0]);
xy[0] = standX - targetXY[0];
}else{
standX = YUD.getX(get('mainContent')) + get('mainContent').offsetWidth;
xy[0] = standX - targetXY[0] - 30;
}

showAllCategory.init('moreProductTeamBtn','moreProductTeam',xy,zConfig);

}
}
);

</SCRIPT>

 

<DIV class=customGroup>
<H3><A href="#">www.corange.cn
</A></H3>
<UL>
<LI><A href="http://www.corange.cn/html/corange_2_1.html">Php</A>
<LI><A href="http://www.corange.cn/html/corange_15_1.html">JS/Jquery/Ajax </A>
<LI><A href="">1</A>
<LI><A href="">2</A>
<LI><A href="">3</A>
<LI><A href="">4</A>
</LI>
</UL>
<DIV class=customGroupfooter><A class=more id=moreProductTeamBtn
href="javascript:void(0)">See More</A> </DIV>
</DIV>

<DIV class=customGroupMore id=MinimoreProductTeam>
<DIV class=MiniMPTcontainer id=moreProductTeam><IFRAME
class=MinimoreProductMaskIframe id=MinimoreProductMaskIframe
style="HEIGHT: 200px" src="about:blank" frameBorder=0></IFRAME><SPAN
class=MiniMPTclosebtn><A οnclick=showAllCategory.hiddenContentForce()
href="javascript:void(0);"><IMG height=17
src="yiwu/close_more_product_team.gif"
width=42 border=0></A></SPAN>
<DIV class=MiniMPTitem id=MiniMPTitem><BR>
<UL>
<LI class=column><A
href="">1</A> </LI>
<LI class=column><A
href="">2</A> </LI>
<LI class=column><A
href="">3</A> </LI>
<LI class=column><A
href="">4</A> </LI>
<LI class=column><A
href="">5</A> </LI>

</UL></DIV></DIV></DIV>
</DIV>
</BODY></HTML>
js,图片,css文件
http://www.corange.cn//uploadfiles/0606_55703.rar

 

原文地址:http://www.corange.cn/archives/2010/06/3647.html

转载于:https://www.cnblogs.com/zerogo/archive/2010/06/07/1752963.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值