為了更友善與客戶的交流,我們經常會在網頁中引用QQ,實作随時都與客戶聯系的效果。
有多種代碼:
一、文字類型的:
1、<a target="_blank" href="http://wpa.qq.com/msgrd?V=1&amp;Uin=你的QQ号碼&amp;Site=你的注釋與說明;Menu=yes">你的QQ号碼</a>
2、還可直接用下面這種方法(不用注釋)
<a href="http://wpa.qq.com/msgrd?V=1&Uin=你的QQ号碼">你的QQ号碼</a>
二、圖檔類型的。
1、<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=你的QQ号碼&Site=注釋與說明& Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:您的QQ号碼:13 alt="點選這裡給我發消息"></a>
2、<a target="_blank" href="http://wpa.qq.com/msgrd?V=1&Uin=你的QQ号碼&Site=&Menu=yes">
<img height="23" alt="點這裡與我聯系" src="http://wpa.qq.com/pa?p=1:6156586:1" width="74" border="0"></a>
執行個體一:(文字類型)
<a href="http://wpa.qq.com/msgrd?V=1&amp;Uin=1174540670&amp;Site=老人出書網&Menu=yes">QQ&nbsp;咨詢:1174540670</a>
執行個體二:(圖檔類型)
<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin=1174540670&Site=老人出書網&Menu=yes><img src=http://wpa.qq.com/pa?p=1:309999302:1 alt="老人出書網" hspace="10" border="0" align="absmiddle"></a>
執行個體三:(圖檔類型)當你的QQ線上是顯示線上,當你的QQ不線上時顯示不線上。與你的QQ同步。
<a href=" http://sighttp.qq.com/cgi-bin/check?sigkey=6e1efd653b1f7cca665d7e92c7271e938ba35355a3abde8ce7bd6d7301faa9098d6643d1cea4000a81fbd08448b0c3829157a114c8e091b8c7c344dc96a3d6be663247f3d75bdf748234dd852df7689fe6af2ab9149bf9e2a2ef0d9cd0fd9dd1"; target=_blank; tempSrc=' http://sighttp.qq.com/wpa.js?rantime='+Math.random()+'&sigkey=6e1efd653b1f7cca665d7e92c7271e938ba35355a3abde8ce7bd6d7301faa9098d6643d1cea4000a81fbd08448b0c3829157a114c8e091b8c7c344dc96a3d6be663247f3d75bdf748234dd852df7689fe6af2ab9149bf9e2a2ef0d9cd0fd9dd1';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 border="0" SRC=' http://wpa.qq.com/pa?p=1:你的QQ号碼:1' alt="點選這裡給我發消息"></a>
特此聲明:想要什麼效果請點選以下連結:
http://imis.qq.com/webpresence/code.shtml
http://wp.qq.com/index.html