日期:2014-05-17  浏览次数:20744 次

象OFFICE ONLINE那样的文字说明,一个小加号,点击展开,后文下挪,怎样实现?
象OFFICE ONLINE那样的文字说明,一个小加号,点击展开,后文下挪,怎样实现?
俺挺菜的,要是用及控件请能帮说明哪里有那控件的使用说明,要是需编代码帮说一下那代码怎么用。

多谢了。

------解决方案--------------------
<html>
<head>
<title> 找我啊.. </title>
<SCRIPT language=javascript1.2>
<!--
function showsubmenu(sid)
{
whichEl = eval( "submenu " + sid);
if (whichEl.style.display == "none ")
{
eval( "submenu " + sid + ".style.display=\ "\ "; ");
}
else
{
eval( "submenu " + sid + ".style.display=\ "none\ "; ");
}
}

function GP_popupConfirmMsg(msg) { //v1.0
document.MM_returnValue = confirm(msg);
}
//-->
</SCRIPT>
</head>
<BODY leftmargin= "0 " topmargin= "0 " marginheight= "0 " marginwidth= "0 ">
<table width=158 align=center cellpadding=0 cellspacing=1 bgcolor= "#006699 ">
<tr>
<td height=25 align= "center " bgcolor= "#FFFFFF " class=menu_title id=menuTitle1 style= "cursor:hand; " onclick= "showsubmenu(1) " onmouseover=this.className= 'menu_title2 '; onmouseout=this.className= 'menu_title ';>
<span> 点我啊 </span> </td>
</tr>
<tr>
<td bgcolor= "#FFFFFF " id= 'submenu1 ' style= "display:none ">
<div class=sec_menu style= "width:158 "> 真被你找着了.^^ </div>
</td>
</tr>
</table>
</body>
</html>

把 "点我啊 "换成你需要的图片即可