会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
涓滴成河
关注前端,html5 canvas,php,python.
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
下一页
2013年1月21日
每日一库:In.js
摘要: in.js
阅读全文
posted @ 2013-01-21 17:32 zhuzefu
阅读(231)
评论(0)
推荐(0)
编辑
每日一库:ControlJS
摘要: ControlJS
阅读全文
posted @ 2013-01-21 17:09 zhuzefu
阅读(302)
评论(0)
推荐(0)
编辑
2012年11月15日
js模拟select 下拉框(待完善)
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-
阅读全文
posted @ 2012-11-15 15:22 zhuzefu
阅读(202)
评论(0)
推荐(0)
编辑
2012年9月28日
利用node压缩、合并js,css,图片
摘要: 1.安装nodejshttp://nodejs.org/2.安装各自的node packagejs我用的是UglifyJS github地址:https://github.com/mishoo/UglifyJScss我用的是clean-cssgithub地址:https://github.com/GoalSmashers/clean-css图片用的是node-smushit github地址:https://github.com/colorhook/node-smushit3.编写代码//jsvar fs = require('fs');var jsp = require(&q
阅读全文
posted @ 2012-09-28 16:00 zhuzefu
阅读(1146)
评论(0)
推荐(0)
编辑
2012年6月19日
适配html5 placeholder属性
摘要: <!doctype html><html><head><meta charset="gb2312" /><title></title><meta name="description" content=" "><meta name="keywords" content=" "></head><body><!--header--><style>.line{h
阅读全文
posted @ 2012-06-19 13:07 zhuzefu
阅读(277)
评论(0)
推荐(0)
编辑
2012年6月15日
拖拽(待完善版)
摘要: <!doctype html > <html > <head > <meta charset="gb2312" / > <title > </title > <meta name="description" content=" " > <meta name="keywords" content=" " > </head > <body > <style>*{padd
阅读全文
posted @ 2012-06-15 09:43 zhuzefu
阅读(423)
评论(0)
推荐(1)
编辑
2012年5月14日
简单js活动倒计时效果
摘要: <!doctype html> <head> <meta http-equiv="content-type" content="text/html; charset=GBK"> <title> </title> </head> <body> <style>#CountdowTest01,#CountdowTest02{display:block;width:400px;}.countdown-over{color:red}.countdown-d,.count
阅读全文
posted @ 2012-05-14 23:52 zhuzefu
阅读(325)
评论(0)
推荐(0)
编辑
2012年5月11日
Baidu Suggestion 百度搜索(仅功能实现,烂版)
摘要: <!doctype html><head><meta http-equiv="content-type" content="text/html; charset=GBK"><title> </title></head><body><style >*{padding:0;margin:0;border:none;}ul,li{list-style-type:none;}.searchwrap{margin:20px auto;height:25px;width:
阅读全文
posted @ 2012-05-11 10:59 zhuzefu
阅读(788)
评论(0)
推荐(0)
编辑
简单js菜单popup效果
摘要: <!doctype html><head><meta http-equiv="content-type" content="text/html; charset=GBK"><title> </title></head><body><style>*{padding:0;margin:0;border:none;}ul,li{list-style-type:none;}.aside{font-size:12px;width:228px;margin:20px;po
阅读全文
posted @ 2012-05-11 10:55 zhuzefu
阅读(660)
评论(0)
推荐(0)
编辑
2012年4月26日
如何判断一个对象是Element?
摘要: 群里有个人问这么判断一个对象是Element?我查了下//underscore.js的实现 _.isElement = function(obj) { return !!(obj && obj.nodeType == 1); };//valentine.js的实现 , ele: function (el) { return !!(el && el.nodeType && el.nodeType == 1) }//prototype.js的实现isElement: function(object) { return object &&
阅读全文
posted @ 2012-04-26 18:17 zhuzefu
阅读(858)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
下一页
公告