投递文章投递文章 投稿指南 RSS订阅RSS订阅

DIV+CSS菜单.比Flash更逼真

来源:lunjianting.cn 发布时间:2008-02-07 收藏 投稿 字体:【

演示:http:///lunjianting.cn

欢迎大家一起讨论和交流

代码:

<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=gb2312" />
<title>论剑社区---流星蝴蝶剑,武侠,原创,文学,外挂,门派,流星,代码,设计,秘籍</title>
<style>
body{
background-color:#B8B8A0;
}
#fbtn{
display:none;
overflow:hidden;
border-style:solid;
border-width:1px;
border-color:#e1e1c9
#e1e1c9 #6e6e56 #6e6e56;
padding:1 1 1
1;
width:120px;
height:30px;
}
#fbtn_txt{
position:relative;
}
#fbtn_txt
div{
height:30px;
padding-top:11px;
font-size:12px;
font-family:small
fonts;
color:#800080;
text-align:center;
cursor:hand;
}
#fbtn_mask{
background-color:#ffffff;
position:relative;
width:100%;
height:100%;
}
</style>

</head>
<body>

        <span style="float:left;valign:middle;align:middle">
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>论剑社区</div>
<div><a href="Http:///lj5x.com" target="_blank">进入论剑首页...</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>武侠文学</div>
<div><a href="Http://wx.lj5x.com" target="_blank">进入原创本色...</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>社区论坛</div>
<div><a href="Http://bbs.lj5x.com" target="_blank">进入论坛讨论</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>流星下载</div>
<div><a href="Http://soft.lj5x.com" target="_blank">进入流星下载...</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>流星秘籍</div>
<div><a href="Http://mbs.lj5x.com" target="_blank">修练流星秘籍...</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div id=fbtn_txt>
<div>流星蝴蝶剑</div>
<div><a href="Http://lx.lj5x.com" target="_blank">流星蝴蝶剑...</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>魔兽RPG</div>
<div><a href="Http://3c.lj5x.com" target="_blank">魔兽3C下载...</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>武侠怀旧</div>
<div><a href="http:///lj5x.com/flash/List.asp?cat_id=2" target="_blank">武侠怀旧视频...</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>站长视频</div>
<div><a href="http://blog.ku6.com/1542654" target="_blank">站长视频网站</a></div>
</div>
</div></span>
<div class="Tab_left side_border">
        <div valign=middle>
 <span style="float:right;valign:middle;align:middle">
<div><script src=advjs_32/32953/32953_35674_p7_.js></script></div></span>
</div>
</div>
<span style="float:right;align:center">
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>站点统计</div>
<div><script src='/upimg/allimg/080207/1317560.jpg" width="80" height="15" border="0" align="absmiddle"></a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>老站链接</div>
<div>
<a href="http://hanlei520.home.sunbo.net" target="_blank">论剑亭原创旧站</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>赞助链接</div>
<div>
<a href="1.html" target="_blank">看看就知道了...</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>推荐网站</div>
<div>
<a href='membersvc/rd.do?w=p_10037149&p=&f=/membersvc/promotion/tjyj.htm' target='_blank'><font color="#000000">注册阿里妈妈</font></a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>广告招租</div>
<div>
<a href="http:///alimama.com/membersvc/buyadzone/search_zone.htm?mid=10037149" target="_blank">购买本站广告</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>google推荐</div>
<div>
<a href="http:///lj5x.com/gg/firefox.htm" target="_blank">无毒浏览器下载</a></div>
</div>
</div>

</span>
<span style="float:right;align:center">
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>社区门派</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=30" target="_blank">论剑江湖门派</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>闲 人 帮</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=32" target="_blank">第一原创门派</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>蜀中唐门</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=37" target="_blank">论剑温派论坛</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>天 山 派</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=43" target="_blank">论剑梁派论坛</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>古 墓 派</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=38" target="_blank">第一图文门派</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div id=fbtn_txt>
<div>青 龙 会</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=39" target="_blank">论剑古派论坛</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>七 神 堂</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=49" target="_blank">论剑门派原创</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>黑心血楼</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=41" target="_blank">流星9.07门派</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>天门杀手</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=16" target="_blank">论剑附属门派</a></div>
</div>
</div></span>


<span style="float:right;align:center">
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>英雄茶馆</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=47" target="_blank">流星9.07讨论区</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>风云茶舍</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=54" target="_blank">流星1.0X讨论区</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>流星文学</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=46" target="_blank">流星游戏文学</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>录像下载</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=31" target="_blank">流星录像下载</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>流星斗秀</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=40" target="_blank">视频修改DIY</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div id=fbtn_txt>
<div>兵 器 谱</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=66" target="_blank">兵器谱讨论区</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>英 雄 榜</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=65" target="_blank">英雄榜讨论区</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>铁 凤 凰</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=50" target="_blank">铁凤凰讨论区</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>流星online</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=60" target="_blank">流星online讨论</a></div>
</div>
</div></span>


<span style="float:right;align:center">
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>倚泉听箫</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=35" target="_blank">心情随笔专区</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>煮酒论史</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=44" target="_blank">历史军事讨论</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>社会百态</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=68" target="_blank">社会百态讨论</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>社区活动</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=24" target="_blank">论剑社区活动</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>屏踪侠影</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=13" target="_blank">影视音乐专区</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div id=fbtn_txt>
<div>图文经典</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=14" target="_blank">图文贴图专区</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>听香水榭</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=22" target="_blank">论剑灌水专区</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>乾坤一掷</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=36" target="_blank">论剑投票专区</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>社区事务</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=15" target="_blank">网站论坛事务</a></div>
</div>
</div></span>
<span style="float:right;align:center">
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>乱弹金庸</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=5" target="_blank">论剑金庸专区</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>热血古龙</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=5" target="_blank">论剑古龙专区...</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>诸子百家</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=7" target="_blank">论剑百家专区</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>大陆新武侠</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=8" target="_blank">大陆新武侠讨论</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>舞文弄墨</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=25" target="_blank">传统文学原创区</a></div>
</div>
</div>
<div id=fbtn>
<div id=fbtn_mask></div>
<div id=fbtn_txt>
<div>诗风词韵</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=11" target="_blank">诗词鉴赏专区</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>江湖走笔</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=10" target="_blank">原创武侠专区</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>神魔玄幻</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=33" target="_blank">原创玄幻专区</a></div>
</div>
</div>
<div
id=fbtn>
<div id=fbtn_mask></div>
<div
id=fbtn_txt>
<div>长篇连载</div>
<div><a href="http:///lj5x.com/bbs/index.asp?boardid=55" target="_blank">终极写手专区</a></div>
</div>
</div></span> </div>
        </div>

<script>
var
current=null;
var t=null;
for(var
i=0;i<fbtn.length;i++){
fbtn_txt[i].style.posTop=-30;
fbtn_mask[i].style.posTop=-30;
fbtn[i].index=i;
fbtn[i].style.display="block";
fbtn[i].onmouseover=function(){
if(!current){
current=this;
domove(this.index);
}
else
if(current!=this){
domove(current.index);
domove(this.index);
current=this;
}
}
fbtn[i].onmouseout=function(){
if(event.toElement==this.parentElement&t==this){
domove(this.index);
current=null;
}
}
}
function
domove(num){
var o=fbtn_txt[num];
var
m=fbtn_mask[num];
if(o.style.posTop<-60){
o.style.display="none";
var
t=o.children[1].innerHTML;
o.children[1].innerHTML=o.children[0].innerHTML;
o.children[0].innerHTML=t;
o.style.posTop=-30;
o.style.display="block";
if(m.style.posTop>30)
m.style.posTop=-30;
else
m.style.posTop=0;
}
else{
m.style.posTop+=3;
o.style.posTop-=3;
setTimeout('domove('+num+')',15);
}
}
</script>
</body>
</html>

顶一下
(0)
0%
踩一下
(0)
0%
本文Tags:
与《DIV+CSS菜单.比Flash更逼真》相关的文章有:
  • 表情:
  •    
  • 评价:
用户名: 密码: 匿名 注册
最新评论 查看所有评论
About iTtang - 联系我们  - 专题列表 - 友情链接  -  高级搜索  -  帮助中心  -  您的意见