[集]IM类型代码收集
1、MSN在线交谈的代码
//过期方法: <a title="请确保XP版本以上的Windows并安装好MSN,或者手动添加地址。" href="msnim:chat?contact=weiguo_1987@hotmail.com" target="_blank"> <img src="img/float5.jpg" width="64" height="67" border="0"> </a> 方法一: <a target="_blank" href="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=hostname@hotmail.com&mkt=zh-cn"> <img style="border-style: none;" src="http://messenger.services.live.com/users/hostname@hotmail.com/presenceimage?mkt=zh-cn" width="16" height="16" /> </a> 方法二: <script type="text/javascript" src="http://settings.messenger.live.com/controls/1.0/PresenceButton.js"></script> <div id="Microsoft_Live_Messenger_PresenceButton_ce855f41c0a97d6b" msgr:width="200" msgr:backColor="#D7E8EC" msgr:altBackColor="#FFFFFF" msgr:foreColor="#478542" msgr:conversationUrl="http://settings.messenger.live.com/Conversation/IMMe.aspx?invitee=weiguo_1987@hotmail.com&mkt=zh-cn"> </div> <script type="text/javascript" src="http://messenger.services.live.com/users/ce855f41c0a97d6b@apps.messenger.live.com /presence?dt=&mkt=zh-cn&cb=Microsoft_Live_Messenger_PresenceButton_onPresence"> </script>
2、QQ在线交谈代码
<script language="JavaScript" type="text/javascript"> function picsize(obj,MaxWidth){ img=new Image(); img.src=obj.src; if (img.width>MaxWidth){ return MaxWidth; } else{ return img.width; } } function CloseQQ(){ divStayTopleft.style.display="none"; return true; } var online= new Array(); </script> <a target="blank" href="tencent://message/?uin=524200860&Site=在线客服&Menu=yes"> <img src="img/float4.jpg" width="164" height="173" border="0"> </a>