【need】
If you have logged in to Woall: http://www.woall.com
Sina Blog and others will find that you can click on the column title, and you will find that the column can be expanded and collapsed, which is very easy to use! In fact, this function is very simple to implement. The key point is to find the Table row to be hidden and control its display attribute .Strongly
recommend that you log in to: http://www.woall.com to experience it for yourself!
[Another] How to add a link to the website???
[Source code] How to use: Download the file and save it as an htm type file!
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns=" http://www.w3.org/1999/xhtml ">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>Untitled Document</title>
<script language="javascript">
<!--
functionAXzhz(hideme)
{
var AX=document.all(hideme); //Declare a variable
AX.style.display=AX.style.display=="none"?"":"none"; //Determine whether to hide
}
//-->
</script>
</head>
<body>
<table width="200" border="1">
<!--title is the prompt that appears when the mouse is on it-->
<tr title="Hurry, hurry!!" onclick="AXzhz('AX')">
<td bgcolor="#FF9933">Click on me!!</td>
</tr>
<tr id="AX" style="display:none">
<td bgcolor="#0099FF">AXzhz production</td>
</tr>
</table>
</body>
</html>