会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
herLover
博客园
首页
新随笔
联系
订阅
管理
2014年7月3日
日志文件操作
摘要: 要求:页面能实时显示日志文件中的内容(自动更新)日志文件读取读取一次后记下当前读取的位置,作为下一次读取的起始点,使用RandomAccessFile来实现断点读取 1 public ResultObject runLog(String id, String pos) { 2 Res...
阅读全文
posted @ 2014-07-03 11:26 herLover
阅读(358)
评论(0)
推荐(0)
2014年6月17日
jQuery Selector(选择器)
摘要: 待完成……
阅读全文
posted @ 2014-06-17 15:30 herLover
阅读(221)
评论(1)
推荐(0)
CSS Selector(选择器)
摘要: W3C标准手册中的选择器如下表(共52个):SelectorExampleExample descriptionCSS.class.introSelects all elements with class="intro"1#id#firstnameSelects the element with i...
阅读全文
posted @ 2014-06-17 15:29 herLover
阅读(2039)
评论(0)
推荐(0)
2014年6月16日
Prototype(原型)
摘要: 待完成……
阅读全文
posted @ 2014-06-16 22:14 herLover
阅读(87)
评论(0)
推荐(0)
Closure(闭包)
摘要: 匿名函数什么是匿名函数?就是没有名字的函数。例:setTimeout(function () { // some code...}, 1000);其中的function就是一个匿名函数(因为它没有名字)如果这么写:setTimeout(function something () { // som...
阅读全文
posted @ 2014-06-16 22:07 herLover
阅读(289)
评论(0)
推荐(0)
公告