急呀!明天面试要用呀!关于QQ在线咨询不能谁滚动条滚动,而且不能显示QQ是否在线的图片和QQ号码
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>网页教学网在线联系</title>
</head>
<body>
<script language="javascript" type="text/javascript">
function picsize(obj,MaxWidth){
img=new Image();//新建一个Image对象,用这个对象的width就不会出现width为0的现象
img.src=obj.src;
if (img.width>MaxWidth)
{
return MaxWidth;
}
else
{
return img.width;
}
}
</script>
<script language="javascript" type="text/javascript">
var online= new Array();
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">')
</script>
<layer id="divStayTopLeft">
<table border="0" width="110" cellspacing="0" cellpadding="0">
<tr>
<td width="110"><img border="0" src="image/kefu_up.gif" alt="对不起不能显示"/>
</td>
</tr>
<script src="http://webpresence.QQ.com/getonline?Type=1&155250311:870713358:" language="javascript" type="text/javascript"></script>
<tr style="width: 123px">
</tr><!--设置两个QQ号码-->
<tr>
<td valign="middle">
<script language="javascript" type="text/javascript">
if (online[0]==0)
document.write(" <img src="image/QQoffline.gif" border=0 align="middle"><a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=155250311&Site=在线咨询&Menu=no' title='客服不在线,请留言'>155250311</a>");
else
document.write(" <img src="image/QQonline1.gif" border=0 align="middle"><a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=155250311&Site=在线咨询&Menu=no' title='在线即时交谈'>155250311</a>");
</script >
</td>
</tr>
<tr>
<td valign="middle" >
<script language="javascript" type="text/javascript">
if (online[1]==0)
document.write(" <img src="image/QQoffline.gif" border=0 align="middle"/><a class='qqb' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=870713358&Site=在线咨询&Menu=no' title='客服不在线,请留言'>870713358</a>");
else
document.write(" <img src="image/QQonline1.gif" border=0 align="middle"/><a class='qqa' target=blank href='http://wpa.qq.com/msgrd?V=1&Uin=870713358Site=在线咨询&Menu=no' title='在线即时交谈'>870713358</a>");
</script >
</td></tr>
<tr>
<td width="110"><img border="0" src="image/kefu_down.gif" alt="对不起不能显示"/>
</td>
</tr>
</table>
</body>
</html>