http://www.ieee-pes.org/meetings-and-conferences/calendar我要做成上面地址这样的效果请点击看看,官方的,无病毒。
以下这是脚本控制。但是,页面输出的是PHP后台传过来的数据。怎么搞?
<style type=text/css>
body { background:#799AE1; font:Verdana 12px;
SCROLLBAR-FACE-COLOR: #799AE1; SCROLLBAR-HIGHLIGHT-COLOR: #799AE1;
SCROLLBAR-SHADOW-COLOR: #799AE1; SCROLLBAR-DARKSHADOW-COLOR: #799AE1;
SCROLLBAR-3DLIGHT-COLOR: #799AE1; SCROLLBAR-ARROW-COLOR: #FFFFFF;
SCROLLBAR-TRACK-COLOR: #AABFEC;
}
table { border:0px; }
td { font:normal 12px Verdana, Arial, Helvetica, sans-serif;}
img { vertical-align:bottom; border:0px; }
a { font:normal 12px Verdana, Arial, Helvetica, sans-serif; color:#000000; text-decoration:none; }
a:hover { color:#428EFF;text-decoration:underline; }
.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:0px; left:8px; color:#000000; font-weight:bold; }
.menu_title2 { }
.menu_title2 span { position:relative; top:0px; left:8px; color:#999999; font-weight:bold; }
</style>
<SCRIPT language=javascript1.2>
function showmenu_item(sid)
{
which = eval("menu_item" + sid);
if (which.style.display == "none")
{
var i = 1
while(i<2){
eval("menu_item"+ i +".style.display=\"none\";");
eval("menuTitle"+ i +".background=\"images/title_bg_show.gif\";");
i++;
}
eval("menu_item" + sid + ".style.display=\"\";");
eval("menuTitle"+ sid + ".background=\"images/title_bg_hide.gif\";")
}else{
eval("menu_item" + sid + ".style.display=\"none\";");
eval("menuTitle"+ sid + ".background=\"images/title_bg_show.gif\";")
}
}
</SCRIPT>
<br>
<table width=158 border="1" cellpadding=0 cellspacing=0>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="images/title_bg_show.gif" id=menuTitle1 onClick="showmenu_item(1)"><p ><strong>专委会活动</strong></p></td>
</tr>
<tr>
<td style="display:none;" id='menu_item1'><div class=sec_menu style="width:158">
<table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="4"></td>
</tr>
<tr>
<td height="20"><img src="images/bullet.gif" alt width="15" height="20" border="0" align="absmiddle"><a href="zhuanweihui.php?act=add" target="main">专委会活动1</a></td>
</tr>
<tr>
<td height="20"><img src="images/bullet.gif" alt width="15" height="20" border="0" align="absmiddle"><a href="zhuanweihui.php?act=list" target="main">专委会活动2</a></td>
</tr>
</table>
</div>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=135>
<tr>
<td height=20></td>
</tr>
</table>
</div></td>
</tr>
</table>
以下这是脚本控制。但是,页面输出的是PHP后台传过来的数据。怎么搞?
<style type=text/css>
body { background:#799AE1; font:Verdana 12px;
SCROLLBAR-FACE-COLOR: #799AE1; SCROLLBAR-HIGHLIGHT-COLOR: #799AE1;
SCROLLBAR-SHADOW-COLOR: #799AE1; SCROLLBAR-DARKSHADOW-COLOR: #799AE1;
SCROLLBAR-3DLIGHT-COLOR: #799AE1; SCROLLBAR-ARROW-COLOR: #FFFFFF;
SCROLLBAR-TRACK-COLOR: #AABFEC;
}
table { border:0px; }
td { font:normal 12px Verdana, Arial, Helvetica, sans-serif;}
img { vertical-align:bottom; border:0px; }
a { font:normal 12px Verdana, Arial, Helvetica, sans-serif; color:#000000; text-decoration:none; }
a:hover { color:#428EFF;text-decoration:underline; }
.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:0px; left:8px; color:#000000; font-weight:bold; }
.menu_title2 { }
.menu_title2 span { position:relative; top:0px; left:8px; color:#999999; font-weight:bold; }
</style>
<SCRIPT language=javascript1.2>
function showmenu_item(sid)
{
which = eval("menu_item" + sid);
if (which.style.display == "none")
{
var i = 1
while(i<2){
eval("menu_item"+ i +".style.display=\"none\";");
eval("menuTitle"+ i +".background=\"images/title_bg_show.gif\";");
i++;
}
eval("menu_item" + sid + ".style.display=\"\";");
eval("menuTitle"+ sid + ".background=\"images/title_bg_hide.gif\";")
}else{
eval("menu_item" + sid + ".style.display=\"none\";");
eval("menuTitle"+ sid + ".background=\"images/title_bg_show.gif\";")
}
}
</SCRIPT>
<br>
<table width=158 border="1" cellpadding=0 cellspacing=0>
<tr>
<td height=25 class=menu_title onmouseover=this.className='menu_title2'; onmouseout=this.className='menu_title'; background="images/title_bg_show.gif" id=menuTitle1 onClick="showmenu_item(1)"><p ><strong>专委会活动</strong></p></td>
</tr>
<tr>
<td style="display:none;" id='menu_item1'><div class=sec_menu style="width:158">
<table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="4"></td>
</tr>
<tr>
<td height="20"><img src="images/bullet.gif" alt width="15" height="20" border="0" align="absmiddle"><a href="zhuanweihui.php?act=add" target="main">专委会活动1</a></td>
</tr>
<tr>
<td height="20"><img src="images/bullet.gif" alt width="15" height="20" border="0" align="absmiddle"><a href="zhuanweihui.php?act=list" target="main">专委会活动2</a></td>
</tr>
</table>
</div>
<div style="width:158">
<table cellpadding=0 cellspacing=0 align=center width=135>
<tr>
<td height=20></td>
</tr>
</table>
</div></td>
</tr>
</table>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货