- 博客(7)
- 收藏
- 关注
原创 js格式化日期
Date.prototype.format = function(format) { var o = { "M+" : this.getMonth()+1, //month "d+" : this.getDate(), //day "h+" : this.getHours(), //hour "m+" : this.getMinutes(), //minute ...
2012-12-19 16:38:25
74
原创 天气预报调用地址
http://tianqi.xixik.com/ 引用方法如 <iframe name="weather_inc" src="http://cache.xixik.com.cn/10/shijiazhuang/" width="300" height="25" frameborder="0" marginwidth="0" marginheight="0&quo
2012-12-04 15:30:47
140
原创 CSS3圆角
圆角(border-radius) 支持浏览器:IE9、Safari、Chrome、Firefox;(尽量使用最新版本,具体到哪个版本支持亦或不支持请百度) 不支持浏览器:IE6~8; -moz-border-radius 兼容Firefox浏览器; -webkit-border-radius 兼容Safari,Chrome浏览器; 对于Opera和IE请使用border-rad...
2012-11-27 16:50:56
74
原创 Tomcat添加系统服务
1.开始-运行-cmd (如果是win7,已管理员身份打开C:\Windows\System32\cmd.exe) 2.添加服务 在DOS下进入"Tomcat目录/bin" 执行: service install 显示: The service 'Tomcat7' has been installed. 3.删除服务 在DOS下进入"Tomcat目录/...
2012-11-27 09:20:08
85
原创 HTML,CSS的命名的习惯总结
CSS命名规则 头:header 内容:content/containe 尾:footer 导航:nav 侧栏:sidebar 栏目:column 页面外围控制整体布局宽度:wrapper 左右中:left right center 登录条:loginbar 标志:logo 广告:banner 页面主体:main 热点:hot 新闻:news ...
2012-11-22 16:00:51
103
原创 让IE也支持html5标签
< ![endif]–> 引用以上google的JS(下载下来引用本地的也一样的)放在页面的head区域,注意一定要放在head区域不然将会失效,因为必须在浏览器解析这个元素前执行这个JS,所以不能放在页面的其他地方。最后在css申明下这些H5的标签 article,aside,dialog,footer,header,section,footer,nav,figure,menu{dis...
2012-11-22 15:57:41
76
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人