我的网站插入了“左侧隐藏型浮动客服”,有问题求助,在线等
我的网站插入了“左侧隐藏型浮动客服”,有问题求助,在线等我昨天做了一个自己的左侧隐藏型QQ和旺旺浮动客服,做完之后很满意,请看网站[url=http://www.dingque.com/]www.dingque.com[/url] ,(在线咨询的客服很好,会移动)
但是问题来了——这个QQ和旺旺浮动客服为什么不会浮动呢,我鼠标下拉,他依然在原来的地方,
今天来整理,想试试看这个QQ和旺旺浮动客服在别的网站上面,是否能够很好的移动,结果能够很好的移动——请看[url=http://www.sygtx.com/]www.sygtx.com[/url],说明代码是没有问题的。
之后,我把下面的代码分别插在了page-footer和page-header处试了下,效果都一样,都不能动,为什么在别的网站都能很好的动。
再想是不是“在线咨询客服”和它有冲突呢,然后将“在线咨询客服”卸掉,结果还是一样不浮动。
问各位大侠,是不是这个QQ和旺旺浮动客服不应该插在page-footer和page-header处?插在哪里才能让它在ecshop的网店里面能够上下飘浮呢?望各位多多指点啊?
代码如下:
<!-- 左隐藏菜单开始 -->
<script language="JavaScript1.2">
function move(x, y) {
if (document.all) {
object1.style.pixelLeft += x;
object1.style.pixelTop += y;}
else
if (document.layers) {
document.object1.left += x;
document.object1.top += y;
}};
function position() {
document.object1.left += -200;
document.object1.top += 0;
document.object1.visibility = "show"
};
function makeStatic() {
if (document.all) {object1.style.pixelTop=document.body.scrollTop+196}
else {eval('document.object1.top=eval(window.pageYOffset+20)');}
setTimeout("makeStatic()",0);}
</script>
<!-- 左隐藏菜单结束 -->
<!-- 左隐藏菜单BIG -->
<style type="text/css">
<!--
a:link {
text-decoration: none;
color: #000000;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: underline;
color: #663300;
}
a:active {
text-decoration: none;
}
.style5 {
font-family: "华文行楷";
font-size: 18px;
}
-->
</style>
<layer class="NS" top="20" visibility="hide" name="object1" left="0">
<script language="JavaScript1.2">
if (document.all)
document.write('<DIV ID="object1" style="Position : Absolute ;Left : -125px ;Top : 20px ;Width : 0px ;Z-Index : 20">')
</script>
<table width="159" border="0" cellpadding="2" cellspacing="1" >
<tr>
<td>
<style type="text/css">BODY {
MARGIN: 0px
}
</style>
<table cellspacing="0" cellpadding="0" width="118" align="center" border="0">
<tr>
<td>
<img height="160" alt="" src="[url=http://www.dingque.com/images/01.jpg]http://www.dingque.com/images/01.jpg[/url]" width="118" border="0" name="01"></td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" width="118" align="left" border="0">
<tr>
<td background="[url=http://www.dingque.com/images/02.jpg]http://www.dingque.com/images/02.jpg[/url]">
<img height="25" alt="" src="[url=http://www.dingque.com/images/02.jpg]http://www.dingque.com/images/02.jpg[/url]" width="14" border="0" name="02"></td>
<td align="middle" width="89" bgcolor="#999999" height="25">
<a target="blank" href="tencent://message/?uin=745510085&Site=菩提祖师&Menu=yes">
<img border="0" src="[url=http://wpa.qq.com/pa?p=1:745510085:10]http://wpa.qq.com/pa?p=1:745510085:10[/url]" alt="点击这里给我发消息"></a></td>
<td background="[url=http://www.dingque.com/images/04.jpg]http://www.dingque.com/images/04.jpg[/url]">
<img height="25" alt="" src="[url=http://www.dingque.com/images/04.jpg]http://www.dingque.com/images/04.jpg[/url]" width="15" border="0" name="04"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<img height="17" alt="" src="[url=http://www.dingque.com/images/05.jpg]http://www.dingque.com/images/05.jpg[/url]" width="118" border="0" name="05"></td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" width="118" align="left" border="0">
<tr>
<td background="[url=http://www.dingque.com/images/06.jpg]http://www.dingque.com/images/06.jpg[/url]">
<img height="24" alt="" src="[url=http://www.dingque.com/images/06.jpg]http://www.dingque.com/images/06.jpg[/url]" width="14" border="0" name="servicepic_06"></td>
<td align="middle" width="89" bgcolor="#999999" height="24">
<A
href="[url=http://amos1.taobao.com/msg.ww?v=2&uid=waxu2001&site=cntaobao&s=1]http://amos1.taobao.com/msg.ww?v=2&uid=waxu2001&site=cntaobao&s=1[/url]"
target=_blank><IMG alt=点击这里给我发消息
src="[url=http://amos1.taobao.com/online.ww?v=2&uid=waxu2001&site=cntaobao&s=1]http://amos1.taobao.com/online.ww?v=2&uid=waxu2001&site=cntaobao&s=1[/url]"
border=0></A></td>
<td background="[url=http://www.dingque.com/images/08.jpg]http://www.dingque.com/images/08.jpg[/url]">
<img height="24" alt="" src="[url=http://www.dingque.com/images/08.jpg]http://www.dingque.com/images/08.jpg[/url]" width="15" border="0" name="08"></td>
</tr>
<tr>
<td background="[url=http://www.dingque.com/images/06.jpg]http://www.dingque.com/images/06.jpg[/url]"> </td>
<td align="middle" bgcolor="#999999" height="35"><div align="center"><span class="style5"><a href="[url=http://bbs.dingque.com/]http://bbs.dingque.com[/url]" target="_blank">鼎雀论坛</a></span></div></td>
<td background="[url=http://www.dingque.com/images/08.jpg]http://www.dingque.com/images/08.jpg[/url]"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<img height="22" alt="" src="[url=http://www.dingque.com/images/09.jpg]http://www.dingque.com/images/09.jpg[/url]" width="118" border="0" name="09"></td>
</tr>
</table>
</td>
<td valign="top" align="middle" width="30" rowspan="164">
<img height="164" src="[url=http://www.dingque.com/images/kefu.gif]http://www.dingque.com/images/kefu.gif[/url]" width="30"> </td>
</tr>
<script language="JavaScript1.2">
<!--
if (document.all||document.layers)
makeStatic();
if (document.layers) {
window.onload=position;
}
var sitems=new Array();
var sitemlinks=new Array();
function hl(n) {
n.className='hl'}
function n(h) {
h.className='n'}
//--></script>
</table>
<script language="JavaScript1.2">
if (document.all)
document.write('</DIV>')
</script>
</layer>
<!-- 左隐藏菜单END --> 你好“在线咨询客服”一般是放在```page_footer.lbi里面的啊```我们都这样用```没出来你的问题啊~~``
[[i] 本帖最后由 51ecshop支持 于 2008-8-30 16:43 编辑 [/i]] 在线咨询客服我也是放在那里的,用的也很好,我问的是左侧隐藏型QQ和旺旺浮动客服,为什么不随鼠标上下移动的问题 <!--浮动客服开始-----------Powered by SHOP.CRSHW.COM--------------------------->
<!-- 左隐藏菜单结束 -->
<SCRIPT language=JavaScript1.2>
function position(){
document.object1.right += 105;
document.object1.top += 0;
document.object1.visibility = "show"
}
function makeStatic(){
document.all.object1.style.pixelTop=document.documentElement.scrollTop + document.body.scrollTop + 185;
setTimeout("makeStatic()",0);
}
</SCRIPT>
<!-- 右隐藏菜单结束 -->
<!-- 右隐藏菜单BIG -->
<LAYER class=NS top="100" left="0" name="object1" visibility="hide">
<DIV id="object1" style="Z-INDEX: 20px; right: 0px; WIDTH: 0px; POSITION: absolute; TOP: 25px">
<DIV id="tool" style="BACKGROUND:url(image/tools.gif); WIDTH: 33px; HEIGHT: 262px" >
<table height="183" width="33" style="padding-top:0px">
<tr><td width="33" height="35" align="right">
<a href="http://wpa.qq.com/msgrd?V=1&Uin=173848399&Site={$shop_name}&Menu=yes" target="_blank"><img src="http://wpa.qq.com/pa?p=1:173848399:4" height="16" border="0" alt="QQ" /></a><font color="black">小王</font>
</td></tr>
<tr><td width="33" height="34" align="right">
<a href="http://wpa.qq.com/msgrd?V=1&Uin=348714596&Site={$shop_name}&Menu=yes" target="_blank"><img src="http://wpa.qq.com/pa?p=1:348714596:4" height="16" border="0" alt="QQ" /></a><font color="black">小林</font>
</td></tr>
<tr><td width="33" height="25" align="right">
<a href="http://wpa.qq.com/msgrd?V=1&Uin=184737855&Site={$shop_name}&Menu=yes" target="_blank"><img src="http://wpa.qq.com/pa?p=1:184737855:4" height="16" border="0" alt="QQ" /></a><font color="black">咨询</font>
</td></tr>
<tr><td width="33" height="25" align="right">
<a href="http://wpa.qq.com/msgrd?V=1&Uin=729841907&Site={$shop_name}&Menu=yes" target="_blank"><img src="http://wpa.qq.com/pa?p=1:729841907:4" height="16" border="0" alt="QQ" /></a><font color="black">售后</font>
</td></tr>
<tr><td width="33" height="25" align="right">
<a target="_blank" href="http://amos1.taobao.com/msg.ww?v=2&uid=天狐外贸&s=2"><img border="0" src="http://amos1.taobao.com/online.ww?v=2&uid=ganelzq&s=2" alt="点击这里给我发消息" /></a><br><font color="black">淘宝</font>
</td></tr>
</table>
</DIV>
<SCRIPT language=JavaScript1.2>
<!--
if (document.all||document.layers)
makeStatic();
if (document.layers) {
window.onload=position;
}
var sitems=new Array();
var sitemlinks=new Array();
function hl(n) {
n.className='hl'}
function n(h) {
h.className='n'}
//-->
</SCRIPT>
</DIV>
</LAYER>
<!-- 左隐藏菜单--END -->
<!--浮动客服结束-----------Powered by SHOP.CRSHW.COM---------------------------> 楼上这个人很阴险,把QQ和旺旺都改成你的,搞笑么,不是
解决不了问题,还帮别人创造新的问题 用这个吧,简单点。
[url=http://www.codedoor.com/download/shop-ecshop-kefu-77.html]http://www.codedoor.com/download/shop-ecshop-kefu-77.html[/url]
[url=http://www.codedoor.com/download/ecshop-360buy.com-88.html]模板,插件,ecshop,discuz[/url]
[[i] 本帖最后由 6rz 于 2008-9-11 03:15 编辑 [/i]]
页:
[1]
