+++===>>>超靓的导航菜单~人见人爱~不看后悔<<<===+++

diveas 2004-04-14 07:13:56
<!-- Saved From url=http://js.happyflash.net -->
<!-- Web Design bbs url=http://www.qybbs.net-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="keywords" content="">
<style type=text/css>
body { background:#799AE1; margin:0px; font:normal 12px 宋体; }
table { border:0px; }
td { font:normal 12px 宋体; }
img { vertical-align:bottom; border:0px; }
a { font:normal 12px 宋体; color:#215DC6; text-decoration:none; }
a:hover { color:#428EFF }
.sec_menu { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#D6DFF7; }
.menu_title { }
.menu_title span { position:relative; top:2px; left:8px; color:#215DC6; font-weight:bold; }
.menu_title2 { }
.menu_title2 span { position:relative; top:2px; left:8px; color:#428EFF; font-weight:bold; }
</style>
<script language=javascript>
function menuShow(obj,maxh,obj2)
{
if(obj.style.pixelHeight<maxh)
{
obj.style.pixelHeight+=maxh/20;
obj.filters.alpha.opacity+=5;
obj2.background="http://images.jojoo.net/js/title_bg_hide.gif";
if(obj.style.pixelHeight==maxh/10)
obj.style.display='block';
myObj=obj;
myMaxh=maxh;
myObj2=obj2;
setTimeout('menuShow(myObj,myMaxh,myObj2)','5');
}
}
function menuHide(obj,maxh,obj2)
{
if(obj.style.pixelHeight>0)
{
if(obj.style.pixelHeight==maxh/20)
obj.style.display='none';
obj.style.pixelHeight-=maxh/20;
obj.filters.alpha.opacity-=5;
obj2.background="http://images.jojoo.net/js/title_bg_show.gif";
myObj=obj;
myMaxh=maxh
myObj2=obj2;
setTimeout('menuHide(myObj,myMaxh,myObj2)','5');
}
else
if(whichContinue)
whichContinue.click();
}
function menuChange(obj,maxh,obj2)
{
if(obj.style.pixelHeight)
{
menuHide(obj,maxh,obj2);
whichOpen='';
whichcontinue='';
}
else
if(whichOpen)
{
whichContinue=obj2;
whichOpen.click();
}
else
{
menuShow(obj,maxh,obj2);
whichOpen=obj2;
whichContinue='';
}
}
</script>
<base target=main>
</head>

<body onselectstart="return false;" ondragstart="return false;" oncontextmenu="return false;">
<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr style="cursor:hand;">
<td height=42 valign=bottom>
<img src=http://images.jojoo.net/js/title.gif width=158 height=38>
</td>
</tr>
</table>

<table cellpadding=0 cellspacing=0 width=158 align=center>
<tr style="cursor:hand;">
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background=http://images.jojoo.net/js/title_bg_hide.gif id=menuTitle1 onclick="menuChange(menu1,80,menuTitle1);">
<span>系统选项</span>
</td>
</tr>
<tr>
<td>
<div class=sec_menu style="width:158px;height:80px;filter:alpha(Opacity=100);overflow:hidden;" id=menu1>
<table cellpadding=0 cellspacing=0 align=center width=135 style="position:relative;top:10px;">
<tr>
<td height=20>
<a href=http://qybbs.net onfocus=this.blur();><img src=http://images.jojoo.net/js/icon_safe.gif>
安全选项</a>
</td>
</tr>
<tr>
<td height=20>
<a href=http://qybbs.net onfocus=this.blur();><img src=http://images.jojoo.net/js/icon_recycle.gif>
垃圾邮件选项</a>
</td>
</tr>
<tr>
<td height=20>
<a href=http://qybbs.net onfocus=this.blur();><img src=http://images.jojoo.net/js/icon_dynamic.gif>
动态规则选项</a>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<script language=javascript>
var whichOpen=menuTitle1;
var whichContinue='';
</script>
...全文
107 80 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
80 条回复
切换为时间正序
请发表友善的回复…
发表回复
guodun 2004-05-02
  • 打赏
  • 举报
回复
好东西
大白菜芯 2004-05-02
  • 打赏
  • 举报
回复
我建议放在后台不就完了不得:)
stefli 2004-05-02
  • 打赏
  • 举报
回复
强~
TrueAndFalse 2004-05-02
  • 打赏
  • 举报
回复
打开、关闭的速度再快一些比较好, 呵呵, 偶是急性子
chushicheng 2004-05-02
  • 打赏
  • 举报
回复
好东东
谢谢
diveas 2004-05-02
  • 打赏
  • 举报
回复
演示:
http://diveass.go.nease.net/ys.asp

下载
http://diveass.go.nease.net/ys.rar
超级大笨狼 2004-04-28
  • 打赏
  • 举报
回复
<head>
<STYLE>
.a{display:none;}
.b{display:block;}
</STYLE>
</head>
<table border =1 id="tb">
<tr><td>好友1</td></tr>
<tr><td>好友2</td></tr>
<tr><td>好友3</td></tr>
<tr><td>好友4</td></tr>
<tr><td>好友5</td></tr>
<tr><td>好友6</td></tr>
</table>
<button onclick="show(a-1);">↑</button>
<button onclick="show(a+1);">↓</button>
<script>
var a=0;
show(a);
function show(x)
{
if(x<5&&x>-1)
{
for(i=0;i<tb.rows.length;i++){tb.rows(i).className='a';}
for(i=x;i<x+2;i++){tb.rows(i).className='b';}
a=x;
}

}
</script>
这个滚动!如果内容超过的话
超级大笨狼 2004-04-28
  • 打赏
  • 举报
回复
偶写的一个简易的模型:
<head>
<STYLE>
.a{display:none;}
.b{display:block;}
.c{BACKGROUND-COLOR: lightgrey;cursor:hand;}
</STYLE>
</head>
<table border =1 id="tb">
<tr><td class="c">好友</td></tr>
<tr class="a"><td>好友</td></tr>
<tr><td class="c">陌生人</td></tr>
<tr class="a"><td>陌生人</td></tr>
<tr><td class="c">黑名单</td></tr>
<tr class="a"><td>黑名单</td></tr>
</table>
<script>
function document.onclick()
{
var e=window.event.srcElement
if(e.className=="c")
{
if(tb.rows(e.parentElement.rowIndex+1).className=="b")
{
tb.rows(e.parentElement.rowIndex+1).className="a"
}
else
{
tb.rows(e.parentElement.rowIndex+1).className="b"
}
}
}
</script>
diveas 2004-04-28
  • 打赏
  • 举报
回复
下面给大家一个演示和下载

演示:
http://diveass.go.nease.net/ys.asp

下载
http://diveass.go.nease.net/ys.rar
real22 2004-04-27
  • 打赏
  • 举报
回复
好东西啊~~
beitou 2004-04-27
  • 打赏
  • 举报
回复
好东西呀,呵呵……
diveas 2004-04-26
  • 打赏
  • 举报
回复
下面给大家一个演示和下载

演示:
http://diveass.go.nease.net/ys.asp

下载
http://diveass.go.nease.net/ys.rar
devillicheng 2004-04-26
  • 打赏
  • 举报
回复
hao ding
json_001 2004-04-25
  • 打赏
  • 举报
回复
up!!!
jiazhuo 2004-04-25
  • 打赏
  • 举报
回复
UP
DeliverGuy 2004-04-25
  • 打赏
  • 举报
回复
学习~
说好不能打脸 2004-04-25
  • 打赏
  • 举报
回复
好看,确实好看
QCB181 2004-04-25
  • 打赏
  • 举报
回复
up
celerityok 2004-04-25
  • 打赏
  • 举报
回复
收之。另外,请看

IIS5.0+asp(不行也可以用别的方式)做类似新浪嘉宾聊天那样的页面。请给点思路。
http://expert.csdn.net/Expert/topic/3001/3001191.xml?temp=.9458429
JMing 2004-04-25
  • 打赏
  • 举报
回复
非常之感谢
加载更多回复(60)

28,409

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧