华信航空客服电话:这个网页代码是什么?

来源:百度文库 编辑:高校问答 时间:2024/04/28 04:35:43
大家看下这个代码是什么,就是一点左边那个小箭头,就可以收回去.

我想做个可以向上收的,谁能帮我把代码写出来,谢谢了!

网页如下:
http://bbs.tech.tom.com/bbs.php?forumid=148&threadid=29299&page=1
就是左边中间的黑色小三角.

下面是该网页的代码,changeWin函数是用来收缩页面的,黑色小三角是'Webdings'字体的3和4:
<HTML>
<HEAD>
<TITLE>TOM 论坛</TITLE>
<META http-equiv=content-type content="text/html; charset=gb2312">

<STYLE type=text/css>
.point{position:absolute;background-color:#dddddd;font-size:12px;cursor:hand;}
</STYLE>
<SCRIPT language=javascript>
var ua = window.navigator.userAgent;
var opera = /opera [56789]|opera\/[56789]/i.test(ua);
var ie = !opera && /msie [56789]/i.test(ua);
var moz = !opera && /mozilla\/[56789]/i.test(ua);

function changeWin(o){
if(!ie) return false;
if(parent.forum.cols != "10,*") {
parent.forum.cols = "10,*";
o.innerHTML = "<font face='Webdings' color='#000000'

class='point'>4</font>";
} else {
parent.forum.cols = "131,*";
o.innerHTML = "<font face='Webdings' color='#000000'

class='point'>3</font>";
}
}
</SCRIPT>

</HEAD>
<BODY leftMargin=0 topMargin=0 marginwidth="0" marginheight="0">
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR>
<TD width="100%">
<IFRAME style="VISIBILITY: inherit; WIDTH: 100%; HEIGHT: 100%" marginWidth=0

frameSpacing=0 marginHeight=0 src="left.php?forumid=148" frameBorder=0></IFRAME>
</TD>
<TD bgColor=#aaaaaa><IMG height=1 src="/images/3.0/old/shim.gif" width=1></TD>
<TD bgColor=#dddddd>
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" border=0>
<TR>
<TD onclick=changeWin() height=1><IMG height=1 src="/images/3.0/old/shim.gif"

width=10></TD></TR>
<TR>
<TD id="menuSwitch" onclick="changeWin(this)" height="100%"><FONT

face="Webdings" color="#000000" class="point">3</FONT></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

下面是我写的可以向上收的:
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>收缩页面</title>
</head>
<script language=vbscript>
<!--
sub ChgWin()
if cmd.value="5" then
cmd.value="6"
topwin.height=1
else
cmd.value="5"
topwin.height=100
end if
end sub
-->
</script>

<body>

<table border="0" width="100%">
<tr id=topwin height=100>
<td>
<iframe name="I1" src="http://www.baidu.com" height="100%" width="100%">
浏览器不支持嵌入式框架,或被配置为不显示嵌入式框架。</iframe></td>
</tr>
<tr>
<td align="center" bgcolor="#C0C0C0" height="10">
<input type="button" value="5" name="cmd" onclick="chgwin()" style="font-family: Webdings;width:100%"></td>
</tr>
</table>

</body>

</html>

什么箭头啊?没啊?