1.如何在網頁上顯示騰訊QQ在線洽談?
QQ在線咨詢代碼(qq在線交談代碼/qq在線客服代碼/qq在線狀態代碼/qq在線客服代碼)
(將123456換成你的號碼,site后面換成你的網站就可以了)
1 | <a target="blank" href="http://wpa.qq.com/msgrd?V=1&Uin=12345678&Site=精品空間論壇& Menu=yes"><img border="0" SRC=http://wpa.qq.com/pa?p=1:12345678:6 alt="點擊這里給我發消息" align="absmiddle"></a> |
更多的生成顯示QQ在線狀態的代碼,請查看騰訊官方網站
http://imis.qq.com/webpresence/code.shtml
你只需要填寫你的號碼,網站名稱以及提示就可以點擊生成就可以生成QQ在線狀態的代碼,拷貝生成的代碼加入網頁即可
2.阿里巴巴貿易通在線狀態代碼生成,eric改成你的ID就行了,還有ALT改成你的內容
1 | <a target=_blank href="http://scs1.sh1.china.alibaba.com/msg.atc?v=1&uid=mengsajewel"><img _fcksavedurl=""http://scs1.sh1.china.alibaba.com/msg.atc?v=1&uid=mengsajewel"><img" border=0 src="http://scs1.sh1.china.alibaba.com/online.atc?v=1&uid=eric&s=2" alt="精品空間論壇 eric" align="absmiddle"></a> |
更多的阿里巴巴貿易通在線狀態代碼生成樣式,請查看阿里巴巴官方網站
http://club.china.alibaba.com/club/block/alitalk/alitalkfire.html
3.skype在線狀態代碼生成
將eric換成你的skype ID就可以了,需要在skype個人賬戶里設置對任何人顯示狀態
1 | <a href="skype:eric?call" _fcksavedurl=""skype:venky1979?call"" on-click="return skypeCheck();"><img src=http://mystatus.skype.com/smallclassic/eric style="border: none;" alt="Call me!" /></a> |
更多的skype在線狀態代碼生成樣式,請查看skype的官方網站
http://www.skype.com/share/buttons/
4.如何生成MSN在線狀態代碼
可以設置自定義顯示圖片,不過檢測速度有點慢,另外一部分人在msn的配置中,設置了不加好友就不顯示在線。這是為了個人隱私保護,但這樣會顯示狀態未知或者離線。如果你不介意別人看到你,就開啟那個選項就好了。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | <!--MSN即時交談代碼開始 --> <Script language=javascript> function SendMSNMessage(name) { //Send a message through MSN , only for IE //and you must have installed MSN or Window Message MsgrObj.InstantMessage(name); } function AddMSNContact(name) { //Add a people to MSN , only for IE //and you must have installed MSN or Window Message MsgrObj.AddContact(0, name); } </script> <object id="MsgrObj" classid="clsid:B69003B3-C55E-4B48-836C-BC5946FC3B28" codetype="application/x- oleobject" width="0" height="0"></object> <input type=image src="images/MSN.gif" alt="在線MSN交流" onClick="SendMSNMessage ('[email]meskyes@hotmail.com[/email]')" /> <!--MSN在線交談代碼結束 --> |
6:雅虎
將admin@hichf.com換成您自己的:
1 | <a href="http://cn.webmessenger.yahoo.com/index.php?t=1&to=eWlkPXdlc3RreUB5YWhvby5jbg--&sig=cf3f672c1bd9ada33783d2c5dd6cca855a8d2532" target="_blank"><img src="http://opium3.msg.vip.mud.yahoo.com/online?u=admin@hichf.com&t=1&l=cn" alt="在網頁上就能直接與我們交談!" width=82 height=22 hspace="5" border="0" align="absmiddle" /></a> |
7.在線客服的代碼
有很多朋友問我在線客服的代碼,貌似網上也找不到好用的,因此打算把自己珍藏的代碼拿出來給大家分性享一下,很好用。
按鈕部分,我是用圖片來做例子
1 2 3 4 5 6 | <SPAN style="CURSOR: hand" onclick="javascript:addMSN('[email]admin@hichf.com[/email]');"><IMG src="kefu.gif" border=0> </SPAN> <DIV style="DISPLAY: none"> <OBJECT id=MsgrUIA height=0 codeType=application/x-oleobject width=0 classid=clsid:B69003B3-C55E-4b48-836C-BC5946FC3B28></OBJECT></DIV> |
JS部分:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <SCRIPT language=javascript> <!-- function addMSN (address) { if (MsgrUIA.MyStatus == 1) { alert('您的MSN沒有登陸,請先登陸'); } else if(MsgrUIA.MyStatus == 2 || MsgrUIA.MyStatus == 10 || MsgrUIA.MyStatus == 14 || MsgrUIA.MyStatus == 34 || MsgrUIA.MyStatus == 50 || MsgrUIA.MyStatus == 66 || MsgrUIA.MyStatus == 6) { //2,10, 14, 34, 50,66,6 MsgrUIA.InstantMessage(address); } else if (MsgrUIA.MyStatus == 512 || MsgrUIA.MyStatus == 768) { alert('您的MSN正在登陸,請稍等'); } else { alert('錯誤代碼:'+ MsgrUIA.MyStatus + '。您沒有安裝MSN或使用的不是IE瀏覽器,請安裝MSN并手動添加' + address ); } } --> </SCRIPT> |
ENGLISH
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | <SCRIPT language=javascript> <!-- function addMSN (address) { if (MsgrUIA.MyStatus == 1) { alert('Add a people to MSN , only for IE and you must have installed MSN or Window Message'); } else if(MsgrUIA.MyStatus == 2 || MsgrUIA.MyStatus == 10 || MsgrUIA.MyStatus == 14 || MsgrUIA.MyStatus == 34 || MsgrUIA.MyStatus == 50 || MsgrUIA.MyStatus == 66 || MsgrUIA.MyStatus == 6) { //2,10, 14, 34, 50,66,6 MsgrUIA.InstantMessage(address); } else if (MsgrUIA.MyStatus == 512 || MsgrUIA.MyStatus == 768) { alert('Logining Now,Please wait!'); } else { alert('Error:'+ MsgrUIA.MyStatus + '。Send a message through MSN , only for IE and you must have installed MSN or Window Message' + address ); } } --> </SCRIPT> |
以上代碼已經不支持msn8.0,MSN 8.0的代碼
1 | <A title="請確保XP版本以上的Windows并安裝好MSN,或者手動添加地址。" href="msnim:chat?contact=admin@hichf.com" target=_blank>給zanpo發消息</A> |
收藏自:CHF精品論壇