admin管理员组文章数量:1530914
2023年12月29日发(作者:)
分享一下在ecshop中实现浮动qq客服的js代码
/post/
("
("
style='display : none;'>");
("
");("
欢迎您
("
("
/pa?p=1:740859636:10' border='0' alt='路路通商城' />
"); /pa?p=1:249082059:10' border='0' alt='路路通商城' />
"); /pa?p=1:362325264:10' border='0' alt='路路通商城' />
"); alt="点击这里给我发消息" />在线旺旺
'); 咨询电话:400-6762-668
"); (" (" | "); (" (" |
"); (" (" | "); (' (" |
('
('
("
("
("
");("
("
src='OKQQ/images/qq_' class='press' alt='在线咨询'>
("
//
var tips; var theTop = 145/*这是默认高度,越大越往下*/; var old = theTop;
function initFloatTips() {
tips = mentById('divQQbox');
moveTips();
};
function moveTips() {
var tt=50;
if (eight) {
pos = ffset
}
else if (ntElement && Top) {
pos = Top
}
else if () {
pos = Top;
}
pos=Top+theTop;
pos=Top+pos/10;
if (pos < theTop) pos = theTop;
if (pos != old) {
= pos+"px";
tt=10;
//alert();
}
old = pos;
setTimeout(moveTips,tt);
}
//!]]>
initFloatTips();
function OnlineOver(){
mentById("divMenu").y = "none";
mentById("divOnline").y = "block";
mentById("divQQbox"). = "145px";
}
function OnlineOut(){
mentById("divMenu").y = "block";
mentById("divOnline").y = "none";
}
function guan(){
mentById("divMenu").y = "block";
mentById("divOnline").y = "none";
OnlineOut();
}
function hideMsgBox(theEvent){ //theEvent用来传入事件,Firefox的方式
if (theEvent){
var browser=ent; //取得浏览器属性
if (f("Firefox")>0){ //如果是Firefox
if (mentById('divOnline').contains(dTarget)) { //如果是子元素
return; //结束函式
}
}
if (f("MSIE")>0){ //如果是IE
if (mentById('divOnline').contains(ent)) { //如果是子元素
return; //结束函式
}
}
}
}
版权声明:本文标题:分享一下在ecshop中实现浮动qq客服的js代码 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/xitong/1703841661a74335.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论