QQ即时交谈网页代码.doc_第1页
QQ即时交谈网页代码.doc_第2页
QQ即时交谈网页代码.doc_第3页
QQ即时交谈网页代码.doc_第4页
QQ即时交谈网页代码.doc_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

范例:QQ客服script src=/js/jquery-1.4.4.min.js.qqbox a:link color: #000;text-decoration: none;.qqbox a:visited color: #000;text-decoration: none;.qqbox a:hover color: #f80000;text-decoration: underline;.qqbox a:active color: #f80000;text-decoration: underline;.qqboxwidth:132px;height:auto;overflow:hidden;position:absolute;right:0;top:100px;color:#000000;font-size:12px;letter-spacing:0px;.qqlvwidth:50px;height:256px;overflow:hidden;position:relative;float:right;z-index:500px;.qqkfwidth:120px;height:auto;overflow:hidden;right:0;top:0;z-index:99px;border:6px solid #138907;background:#fff;.qqkfbtwidth:118px;height:20px;overflow:hidden;background:#138907;line-height:20px;font-weight:bold;color:#fff;position:relative;border:1px solid #9CD052;cursor:pointer;text-align:center;.qqkfhmwidth:112px;height:35px;overflow:hidden;line-height:20px;padding-right:8px;position:relative;margin:3px 0;.bgdhwidth:102px;padding-left:10px; img src=/images/QQ.jpg 客 服 中 心 img src=/images/QQyes.jpg border=0/在线客服一 img src=/images/QQyes.jpg border=0/在线客服二 var online= new Array(); if (online0=0) document.write(img border=0 src=/images/QQno.gif alt=QQ不在线,请留言QQ不在线,请留言); else document.write(img border=0 src=/images/QQyes.jpg alt=QQ在线交谈QQ在线交谈); 客服电话function showandhide(h_id,hon_class,hout_class,c_id,totalnumber,activeno) var h_id,hon_id,hout_id,c_id,totalnumber,activeno; for (var i=1;i=totalnumber;i+) document.getElementById(c_id+i).style.display=none; document.getElementById(h_id+i).className=hout_class; document.getElementById(c_id+activeno).style.display=block; document.getElementById(h_id+activeno).className=hon_class;var tips; var theTop = 40;var old = theTop;function initFloatTips() tips = document.getElementById(divQQbox);moveTips();function moveTips() var tt=50; if (window.innerHeight) pos = window.pageYOffset else if (document.documentElement & document.documentElement.scrollTop) pos = document.documentElement.scrollTop else if (document.body) pos = document.body.scrollTop; pos=pos-tips.offsetTop+theTop; pos=tips.offsetTop+pos/10; if (pos 0) /如果是Firefox if (document.getElementById(contentid).contains(theEvent.relatedTarget) returnif (browser.indexOf(MSIE)0 | browser.indexOf(Presto)=0) if (document.getElementById(contentid).contains(event.toElement) return; document.getElementById(meumid).style.display = block; document.getElementById(contentid).style.display = none; 文档:QQ在线即时交谈网页代码1:临时会话(即:不用添加好友即可对话) Html代码 1. QQ在线即时交谈网页代码2:需要添加好友才能对话 Html代码 1. 2. 3. 如果上面的img是 则可以显示是否在线的状态。而且1:QQ号码:1后面这个数字可以在1-13之间进行切换,以选择不同的图片效果。有时网站上的客服太多,有好几个qq,每个qq都要显示在线状态时,这种效果不是很好。因为要从qq网站上下载图片,然而有的图片显示不出来。下面给出从本地加裁状态图片的代码,也可以提高加裁速度。 QQ在线即时交谈网页代码3:(显示是否在线状态) Html代码(直接复制到html中即可使用) 1. 2. var online= new Array(); 3. 4. 5. 6. if (online0=0) 7. doc

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论