天天看點

在html中調用QQ,MSN,旺旺,Skype,Email的方法

<a href="tencent://message/?uin=21755061&Site=部落格園&Menu=yes" target="_blank" rel="external nofollow" >點選這裡QQ聊天</a>

<a href="msnim:[email protected]" target="_blank" rel="external nofollow" >點這裡MSN聊天</a>

<a href="mailto:[email protected]?subject=To worthtech&body=Hello:" target="_blank" rel="external nofollow" >Email: [email protected]</a>

<a href="msnim:[email protected]" target="_blank" rel="external nofollow" target="_blank">[email protected]</a>

<a href="http://wpa.qq.com/msgrd?V=1&Uin=21755061&Site=&Menu=yes" target="_blank" rel="external nofollow" target="_blank">咨詢QQ:21755061</a>

<a href="msnim:[email protected]" target="_blank" rel="external nofollow" >加我為好友MSN</a>

<a href="tencent://message/?uin=21755061&Site=金蝶社群(community.kingdee.com)&Menu=yes" target="_blank" rel="external nofollow" >線上qq交流</a>

<img src="http://wpa.qq.com/pa?p=1:21755061:5" />(1,5是控制顯示圖示的參數)

<!--旺旺的代碼(abcde請改為對方的賬号,******請改為自己賬号,123456是商品名稱.)-->

<a href="wangwang:SendIM?abcde&uid_t=abcde&suid=******&desc=123456" target="_blank" rel="external nofollow" >加我為好友旺旺</a>

<!--Skype的代碼(abcde請改為對方的賬号)-->

<a href="callto://***** " target="_blank" rel="external nofollow" >加我為好友Skype</a>

<a href="http://sighttp.qq.com/cgi-bin/check?sigkey=" target="_blank" rel="external nofollow" ; target=_blank; οnclick="var tempSrc='http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=';var oldscript=document.getElementById('testJs');var newscript=document.createElement('script');newscript.setAttribute('type','text/javascript'); newscript.setAttribute('id', 'testJs');newscript.setAttribute('src',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;"><img SRC='http://wpa.qq.com/pa?p=1:123456789:43' alt=""></a>

生成代碼的頁面:[url]http://wp.qq.com/index.html[/url]