happyxp 发表于 2010-4-13 20:12:56

<p style="TEXT-ALIGN: center; MARGIN: 0cm="0cm"0cm="0cm"0pt" align="center"><span style="COLOR: black">浮动</span><span style="COLOR: black"><font face="Times New="New"Roman">QQ</font></span><span style="COLOR: black">在线客服</span><span style="COLOR: black"><font face="Times New="New"Roman">&amp;</font></span><span style="COLOR: black">网站</span><span style="COLOR: black"><font face="Times New="New"Roman">QQ</font></span><span style="COLOR: black">在线咨询</span><span style="COLOR: black"></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span style="COLOR: red">第一步:先把以下代码保存为</span><span style="COLOR: red"><font face="Times New="New"Roman">kefu.htm</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span style="COLOR: red">第二步:按橙色说明修改</span><span style="COLOR: blue"></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span style="COLOR: #ff9900">绿色部分是要修改的内容,</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">html</font></span><span style="COLOR: #ff9900">文档中不包括说明文字:</span><span style="COLOR: #ff9900"></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;html&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;head&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;meta&nbsp;http-equiv="Content-Type"&nbsp;c&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;link&nbsp;rel="stylesheet"&nbsp;href="images/&nbsp;im.css"&nbsp;type="text/css"&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;/head&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;script&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">var&nbsp;online=&nbsp;new&nbsp;Array();</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">if&nbsp;(!document.layers)</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">document.write('&lt;div&nbsp;id="divStayTopLeft"&nbsp;style="position:absolute"&gt;')</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;/script&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;layer&nbsp;id="divStayTopLeft"&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;table&nbsp;border="0"&nbsp;width="110"&nbsp;cellspacing="0"&nbsp;cellpadding="0"&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;tr&gt;&lt;td&nbsp;width="110"&gt;&lt;img&nbsp;border=0&nbsp;src=images/kefu_up.gif&gt;&lt;/td&gt;&lt;/tr&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"-88.7pt 0pt="0pt"0cm"><span><font face="Times New="New"Roman">&lt;script&nbsp;src="http://webpresence.qq.com/getonline?Type=1&amp;<span style="BACKGROUND: teal">27089965:27043921:56129874:</span>"&gt;&lt;/script&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span style="COLOR: #ff9900">将绿色部分修改成你的所有客服</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">QQ</font></span><span style="COLOR: #ff9900">,多个</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">QQ</font></span><span style="COLOR: #ff9900">用半角冒号隔开,最后一个</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">QQ</font></span><span style="COLOR: #ff9900">号后面也必须以半角冒号结束</span><span style="COLOR: #ff9900"></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span style="COLOR: #ff9900"><font face="Times New="New"Roman">&nbsp;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span style="COLOR: #ff9900">以下部分显示第</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">1</font></span><span style="COLOR: #ff9900">个客服</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">QQ</font></span><span style="COLOR: #ff9900">,注意:</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">online</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;tr&gt;&lt;td&nbsp;valign=middle<span>&nbsp;&nbsp;</span>background=images/kefu_middle.gif&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;script&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">if&nbsp;(online==0)</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">document.write("&amp;nbsp;&amp;nbsp;&lt;img&nbsp;src=images/QQoffline.gif&nbsp;border=0&nbsp;align=middle&gt;&lt;a&nbsp;class='qqb'&nbsp;target=blank&nbsp;href='http://wpa.qq.com/msgrd?V=1&amp;Uin=<span style="BACKGROUND: teal">27089965</span>&amp;Site=</font></span><span>在线咨询</span><span><font face="Times New="New"Roman">&amp;Menu=no'&nbsp;title='</font></span><span>客服不在线,请留言</span><span><font face="Times New="New"Roman">'&gt;</font></span><span style="BACKGROUND: teal">售前咨询</span><span><font face="Times New="New"Roman">&lt;/a&gt;");</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">else</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">document.write("&amp;nbsp;&amp;nbsp;&lt;img&nbsp;src=images/QQonline.gif&nbsp;border=0&nbsp;align=middle&gt;&lt;a&nbsp;class='qqa'&nbsp;target=blank&nbsp;href='http://wpa.qq.com/msgrd?V=1&amp;Uin=<span style="BACKGROUND: teal">27089965</span>&amp;Site=</font></span><span>在线咨询</span><span><font face="Times New="New"Roman">&amp;Menu=no'&nbsp;title='</font></span><span>在线即时交谈</span><span><font face="Times New="New"Roman">'&gt;</font></span><span style="BACKGROUND: teal">售前咨询</span><span><font face="Times New="New"Roman">&lt;/a&gt;");</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;/script&nbsp;&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;/td&gt;&lt;/tr&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&nbsp;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span style="COLOR: #ff9900">以下部分显示第</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">2</font></span><span style="COLOR: #ff9900">个客服</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">QQ</font></span><span style="COLOR: #ff9900">,注意:</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">online</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;tr&gt;&lt;td&nbsp;valign=middle<span>&nbsp;&nbsp;</span>background=images/kefu_middle.gif&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;script&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">if&nbsp;(online==0)</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">document.write("&amp;nbsp;&amp;nbsp;&lt;img&nbsp;src=images/QQoffline.gif&nbsp;border=0&nbsp;align=middle&gt;&lt;a&nbsp;class='qqb'&nbsp;target=blank&nbsp;href='http://wpa.qq.com/msgrd?V=1&amp;Uin=<span style="BACKGROUND: teal">27043921</span>&amp;Site=</font></span><span>在线咨询</span><span><font face="Times New="New"Roman">&amp;Menu=no'&nbsp;title='</font></span><span>客服不在线,请留言</span><span><font face="Times New="New"Roman">'&gt;</font></span><span style="BACKGROUND: teal">技术支持</span><span><font face="Times New="New"Roman">&lt;/a&gt;");</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">else</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">document.write("&amp;nbsp;&amp;nbsp;&lt;img&nbsp;src=images/QQonline.gif&nbsp;border=0&nbsp;align=middle&gt;&lt;a&nbsp;class='qqa'&nbsp;target=blank&nbsp;href='http://wpa.qq.com/msgrd?V=1&amp;Uin=<span style="BACKGROUND: teal">27043921</span>&amp;Site=</font></span><span>在线咨询</span><span><font face="Times New="New"Roman">&amp;Menu=no'&nbsp;title='</font></span><span>在线即时交谈</span><span><font face="Times New="New"Roman">'&gt;</font></span><span style="BACKGROUND: teal">技术支持</span><span><font face="Times New="New"Roman">&lt;/a&gt;");</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;/script&nbsp;&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;/td&gt;&lt;/tr&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&nbsp;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span style="COLOR: #ff9900">以下部分显示第</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">3</font></span><span style="COLOR: #ff9900">个客服</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">QQ</font></span><span style="COLOR: #ff9900">,注意:</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">online</font></span><span style="COLOR: #ff9900">。</span><span style="COLOR: #ff9900"></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;tr&gt;&lt;td&nbsp;valign=middle<span>&nbsp;&nbsp;</span>background=images/kefu_middle.gif&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;script&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">if&nbsp;(online==0)</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">document.write("&amp;nbsp;&amp;nbsp;&lt;img&nbsp;src=images/QQoffline.gif&nbsp;border=0&nbsp;align=middle&gt;&lt;a&nbsp;class='qqb'&nbsp;target=blank&nbsp;href='http://wpa.qq.com/msgrd?V=1&amp;Uin=<span style="BACKGROUND: teal">240434782</span>&amp;Site=</font></span><span>在线咨询</span><span><font face="Times New="New"Roman">&amp;Menu=no'&nbsp;title='</font></span><span>客服不在线,请留言</span><span><font face="Times New="New"Roman">'&gt;</font></span><span style="BACKGROUND: teal">代理合作</span><span><font face="Times New="New"Roman">&lt;/a&gt;");</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">else</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">document.write("&amp;nbsp;&amp;nbsp;&lt;img&nbsp;src=images/QQonline.gif&nbsp;border=0&nbsp;align=middle&gt;&lt;a&nbsp;class='qqa'&nbsp;target=blank&nbsp;href='http://wpa.qq.com/msgrd?V=1&amp;Uin=<span style="BACKGROUND: teal">240434782</span>&amp;Site=</font></span><span>在线咨询</span><span><font face="Times New="New"Roman">&amp;Menu=no'&nbsp;title='</font></span><span>在线即时交谈</span><span><font face="Times New="New"Roman">'&gt;</font></span><span style="BACKGROUND: teal">代理合作</span><span><font face="Times New="New"Roman">&lt;/a&gt;");</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;/script&nbsp;&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;/td&gt;&lt;/tr&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&nbsp;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span style="COLOR: #ff9900">多个</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">QQ</font></span><span style="COLOR: #ff9900">,按以上规律复制上面的代码后修改</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">online&nbsp;</font></span><span style="COLOR: #ff9900">中的数字(第</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">1</font></span><span style="COLOR: #ff9900">个</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">QQ</font></span><span style="COLOR: #ff9900">为</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">online</font></span><span style="COLOR: #ff9900">、第</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">2</font></span><span style="COLOR: #ff9900">个</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">QQ</font></span><span style="COLOR: #ff9900">为</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">online</font></span><span style="COLOR: #ff9900">、第</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">3</font></span><span style="COLOR: #ff9900">个为</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">online</font></span><span style="COLOR: #ff9900">,以此类推)和</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">QQ</font></span><span style="COLOR: #ff9900">号(每组代码中有</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">2</font></span><span style="COLOR: #ff9900">处位置改为</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">QQ</font></span><span style="COLOR: #ff9900">号、</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">2</font></span><span style="COLOR: #ff9900">处位置改为昵称)。</span><span style="COLOR: #ff9900"></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&nbsp;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;tr&gt;&lt;td&nbsp;width="110"&gt;&lt;img&nbsp;border=0&nbsp;src=images/kefu_down.gif&gt;&lt;/td&gt;&lt;/tr&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;/table&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;/layer&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;script&nbsp;type="text/javascript"&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">//Enter&nbsp;"frombottom"&nbsp;or&nbsp;"fromtop"</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">var&nbsp;verticalpos="frombottom"</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">if&nbsp;(!document.layers)</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">document.write('&lt;/div&gt;')</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">function&nbsp;JSFX_FloatTopDiv()</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">{</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span style="COLOR: #ff9900">下面的</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">var&nbsp;startX&nbsp;=3</font></span><span style="COLOR: #ff9900">是水平位置,</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">250</font></span><span style="COLOR: #ff9900">是垂直位置;默认情况在屏幕左侧显示,若要改为右侧显示,修改</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">3</font></span><span style="COLOR: #ff9900">的值(</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">var&nbsp;startX&nbsp;=3</font></span><span style="COLOR: #ff9900">改为</span><span style="COLOR: #ff9900"><font face="Times New="New"Roman">var&nbsp;startX&nbsp;=screen.width-150</font></span><span style="COLOR: #ff9900">)即可。</span><span style="COLOR: #ff9900"></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>var&nbsp;startX&nbsp;=3,</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>startY&nbsp;=&nbsp;250;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>var&nbsp;ns&nbsp;=&nbsp;(navigator.appName.indexOf("Netscape")&nbsp;!=&nbsp;-1);</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>var&nbsp;d&nbsp;=&nbsp;document;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>function&nbsp;ml(id)</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>var&nbsp;el=d.getElementById?d.getElementById(id):d.all?d.all:d.layers;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>if(d.layers)el.style=el;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>el.sP=function(x,y){this.style.left=x;this.style.top=y;};</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>el.x&nbsp;=&nbsp;startX;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>if&nbsp;(verticalpos=="fromtop")</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>el.y&nbsp;=&nbsp;startY;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>else{</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>el.y&nbsp;=&nbsp;ns&nbsp;?&nbsp;pageYOffset&nbsp;+&nbsp;innerHeight&nbsp;:&nbsp;document.body.scrollTop&nbsp;+&nbsp;document.body.clientHeight;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>el.y&nbsp;-=&nbsp;startY;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>}</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>return&nbsp;el;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>}</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>window.stayTopLeft=function()</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>{</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>if&nbsp;(verticalpos=="fromtop"){</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>var&nbsp;pY&nbsp;=&nbsp;ns&nbsp;?&nbsp;pageYOffset&nbsp;:&nbsp;document.body.scrollTop;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>ftlObj.y&nbsp;+=&nbsp;(pY&nbsp;+&nbsp;startY&nbsp;-&nbsp;ftlObj.y)/8;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>}</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>else{</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>var&nbsp;pY&nbsp;=&nbsp;ns&nbsp;?&nbsp;pageYOffset&nbsp;+&nbsp;innerHeight&nbsp;:&nbsp;document.body.scrollTop&nbsp;+&nbsp;document.body.clientHeight;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>ftlObj.y&nbsp;+=&nbsp;(pY&nbsp;-&nbsp;startY&nbsp;-&nbsp;ftlObj.y)/8;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>}</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>ftlObj.sP(ftlObj.x,&nbsp;ftlObj.y);</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>setTimeout("stayTopLeft()",&nbsp;10);</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>}</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>ftlObj&nbsp;=&nbsp;ml("divStayTopLeft");</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>stayTopLeft();</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">}</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">JSFX_FloatTopDiv();</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;/script&gt;</font></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt"><span><font face="Times New="New"Roman">&lt;/html&gt;</font></span></p>
<p style="TEXT-INDENT: -31.5pt; MARGIN: 0cm="0cm"0cm="0cm"0pt="0pt"31.5pt; mso-char-indent-count: -3.0"><span style="COLOR: red">第三步:下载相关素材</span><span style="COLOR: red"><font face="Times New="New"Roman">(</font></span><span style="COLOR: red">在图片上点右键-图片另存为…</span><span style="COLOR: red"><font face="Times New="New"Roman">)</font></span><span style="COLOR: red">,保存到</span><span style="COLOR: red"><font face="Times New="New"Roman">images</font></span><span style="COLOR: red">目录下。</span><span style="COLOR: red"></span></p>
<p style="MARGIN: 0cm="0cm"0cm="0cm"0pt="0pt"31.5pt; mso-para-margin-left: 3.0gd"><span style="COLOR: black"><font face="Times New="New"Roman">http://imis.qq.com/images/wpa/images/kefu_up.gif</font></span></p>
<p style="TEXT-INDENT: 31.5pt; MARGIN: 0cm="0cm"0cm="0cm"0pt; mso-char-indent-count: 3.0"><font face="Times New="New"Roman"><span style="COLOR: black">http://imis.qq.com/images/wpa/images/</span><span>&nbsp;<span style="COLOR: black">kefu_middle.gif</span></span></font></p>
<p style="TEXT-INDENT: 31.5pt; MARGIN: 0cm="0cm"0cm="0cm"0pt; mso-char-indent-count: 3.0"><font face="Times New="New"Roman"><span style="COLOR: black">http://imis.qq.com/images/wpa/images/</span><span>&nbsp;<span style="COLOR: black">kefu_down.gif</span></span></font></p>
<p style="TEXT-INDENT: 31.5pt; MARGIN: 0cm="0cm"0cm="0cm"0pt; mso-char-indent-count: 3.0"><font face="Times New="New"Roman"><span style="COLOR: black">http://imis.qq.com/images/wpa/images/</span><span>&nbsp;QQonline.gif</span></font></p>
<p style="TEXT-INDENT: 31.5pt; MARGIN: 0cm="0cm"0cm="0cm"0pt; mso-char-indent-count: 3.0"><font face="Times New="New"Roman"><span style="COLOR: black">http://imis.qq.com/images/wpa/images/</span><span>&nbsp;QQoffline.gif</span></font></p>
<p style="TEXT-INDENT: 31.5pt; MARGIN: 0cm="0cm"0cm="0cm"0pt; mso-char-indent-count: 3.0"><font face="Times New="New"Roman"><span style="COLOR: black">http://imis.qq.com/</span><span>css/im.css</span></font></p>
<p style="TEXT-INDENT: -36.75pt; MARGIN: 0cm="0cm"0cm="0cm"0pt="0pt"36.75pt; mso-char-indent-count: -3.5"><span style="COLOR: red">第四步:将所有文件和目录保持原有结构(</span><span style="COLOR: red"><font face="Times New="New"Roman">kefu.htm</font></span><span style="COLOR: red">和文件夹</span><span style="COLOR: red"><font face="Times New="New"Roman">images</font></span><span style="COLOR: red">),拷贝到您的网站目录中,在你要添加“浮动</span><span style="COLOR: red"><font face="Times New="New"Roman">QQ</font></span><span style="COLOR: red">在线客服”的页面的最后面添加一行:</span><span style="COLOR: red"><font face="Times New="New"Roman">&lt;!--#include&nbsp;file="kefu.htm"--&gt;</font></span></p>

happyxp 发表于 2010-4-13 20:14:17

<p>将此文件保存为duilian.asp,然后在公共文件调用该文件。</p>
<p>&nbsp;</p><br/>
[此贴子已经被作者于2010-4-14 11:17:07编辑过]
页: [1]
查看完整版本: 浮动QQ在线客服&网站QQ在线咨询