佳佳佳佳佳佳酱
佳佳佳佳佳佳酱
关注数: 10
粉丝数: 32
发帖数: 355
关注贴吧数: 38
仓鼠半夜在笼子里飞檐走壁怎办 舍友的仓鼠才买没多久已经会四肢倒吊在笼子顶上爬了,还会双爪抓着笼子顶上吊着走,晚上把笼子震得飞起。手电照它们也完全不理。。。。怎么让它们安顿。
yooooooo 这个吧还是不能抛弃的
狗 我丢雷楼某,忠狗 。现在都让我们多上一天都振振有词了,竟然说把周六和周日的课并到一天上。你狗都不如
我猜陈铮肯定是后来加进十大英雄教师的 于是变成了11大英雄教师
总觉得这里变成了ll吧 至今3级
我给你轻轻的跪了。。。
so sad 帖子没发够两个月内不能当吧主了。。。。
这周我要给COL换个对象判断方法 现在的鼠标指向对象判断方法是在绘制图像的时候判断鼠标是否在图像的绘制区域里,后来我看了看性能分析里发现了这种判断特别费cpu,于是我决定换掉判断方式,用色块模式来判断指向对象。 这样不仅不用耗很多资源,还不用每次判断都刷新一次画布,感觉性能可能会提高呢
无法启动mysql喵 这个样子 Starting MySQL .The server quit without updating PID file (/opt/mysql/server-5.6/data/打码.pid). ... failed! 肿么破 安装过程按照http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fwww.linuxidc.com%2FLinux%2F2014-01%2F95181.htm&urlrefer=1ccdc2f04131276ee5266820911fd023来的
我决定给弹幕播放器本体换菜单了呢 换成全界面式的喵
一个人的贴吧系列 何巨屌。。。
自定义简单事件 先贴函数 function SimpleEvent(){ this.eventid=1; this.eventlist={}; this.eventargrule={}; this.debug=false; this.addEvent=function(ename,fun){ if(typeof ename!="string"){ if(this.debug===true)console.log("事件名不是字符串:",ename); return; } if(!this.eventlist[ename]||typeof this.eventlist[ename].join !="function"){ this.eventlist[ename]=[]; } return [ename,this.eventlist[ename][this.eventlist[ename].push(fun)-1].id=this.eventid++,fun]; }; this.removeEvent=function(eobj){ if(!eobj||typeof eobj!="object"||!eobj.join)return; if(this.eventlist[eobj[0]]&&this.eventlist[eobj[0]].indexOf){ var ind=this.eventlist[eobj[0]].indexOf(eobj[2]); if(ind>=0){ this.eventlist.splice(ind,1); } }else if(this.debug===true){ console.log("移除未定义的事件:",eobj[0]); } }; this.setargrule=function(ename,rulefun){ if(typeof ename!="string"){ if(this.debug===true)console.log("事件名不是字符串:",ename); return; } if(typeof rulefun=="function"){ this.eventargrule[ename]=rulefun; }else if(his.debug===true){ console.log("参数规则不是函数"); } }; this.fireEvent=function(ename){ if(typeof ename!="string"){ if(this.debug===true)console.log("事件名不是字符串:",ename); return; } if((typeof this.eventlist[ename])=="object"){ var th=this; this.eventlist[ename].forEach(function(value){ if(this.debug===true){ console.log("事件触发事件列表:",ename); } if (typeof value == "function") { setTimeout(function(){ if (th.eventargrule[ename]) { value(th.eventargrule[ename]()); return; } value(); },0); }else if(typeof value== "string"){ setTimeout(function(){ try{ eval(value); }catch(e){ if(th.debug===true){ console.log("无法执行事件:",e); } } },0); } }); }else if(this.debug===true){ console.log("未定义的事件:",ename); } }; } 用法 var e=new SimpleEvent(); 监听事件 e.addEvent("miao",function(){ //do... }); 发射事件 e.fireEvent("miao"); 删除事件 var 事件1=e.addEvent("miao",function(){ //do... }); e.removeEvent(事件1);
放个HTML5全屏API代码 //把元素全屏 function requestFullscreen(dom) { if (dom.requestFullscreen) { dom.requestFullscreen(); } else if (dom.msRequestFullscreen) { dom.msRequestFullscreen(); } else if (dom.mozRequestFullScreen) { dom.mozRequestFullScreen(); } else if (dom.webkitRequestFullscreen) { dom.webkitRequestFullscreen(dom[*ALLOW_KEYBOARD_INPUT*]); } else { console.log("Fullscreen API is not supported"); } } //退出全屏 function exitFullscreen() { if (document.exitFullscreen) { document.exitFullscreen(); } else if (document.msExitFullscreen) { document.msExitFullscreen(); }else if (document.mozCancelFullScreen) { document.mozCancelFullScreen(); } else if (document.webkitCancelFullScreen) { document.webkitCancelFullScreen(); } } //判断是否是全屏状态 function isFullscreen() { if (document.fullscreen || document.mozFullScreen || document.webkitIsFullScreen || document.msFullscreenElement) return true; }
弹幕播放器本体大改前截图留念 现在开始大改
土豆介绍毫无违和感 确实是十多年前呢.....
【Android反馈】点C++吧90%会进到C吧里是怎么回事 百度贴吧客户端6.3.3, 4.4.2, Nexus 5, 3G:大家都有这样的情况,大多数时候都会进到C吧里去,难得能进C++吧。
为啥在客户端点C++吧总是会进入C吧。。。 绝对不止我一个,我已经看到不少人吐槽了
弹幕播放器终于派上用场了 用来放运动会独家视频
教工运动会视频已上传 因为我传的是自己的云存储,所以没有办法在这里外链视频啦,具体视频在这里:http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fblog.luojia.me%2F%3Fp%3D2384&urlrefer=4009692267aaeed95f127e1eaacdb771,支持弹幕哦! 某视频由于某些不可抗力导致没拍完整呢。。。
啦啦啦
有多少人和我一样买数位板只是为了玩游戏 绝对不止我一个
偷拍 哦哈哈哈哈哈
运动会又要占周末的节奏啊! 我大三中的十一惯例,每次放假前都要乘机开一下运动会。看来这周末无缘代码了
这周还是坑了 本来想给播放器做成插件模式然后加上实时弹幕功能,然后想了想还是先把播放器主体恢复好再说吧。。。。
看在这里这么冷的分上,我来水一贴 帅哥的水瓶
【个人作】HTML5个人弹幕站 介绍地址: http://tieba.baidu.com/mo/q/checkurl?url=http%3A%2F%2Fblog.luojia.me%2F&urlrefer=6c41455188d940b81cf3ece6bdebd3a0个人弹幕站/ 语言: PHP,JS,HTML 协议:见其GITHUB协议 弹幕层是canvas,移动设备硬伤啊
iTisso规定 1楼留给潜水员
iTisso贴吧建立 此帖留作纪念
1
下一页