2013年5月9日

摘要: .xiangmin { width: 100%; height: 100%; display: -moz-box; display: -webkit-box; display: -ms-flexbox; display: -o-box; display: box; -moz-box-orient: horizontal; -moz-box-pack: center; -moz-box-align: center; -webkit-box-orient: horizontal; -webkit-box-pack: cente... 阅读全文

posted @ 2013-05-09 14:48 向民 阅读(441) 评论(0) 推荐(0) 编辑

2013年5月6日

摘要: function isChrome360() { if( navigator.userAgent.toLowerCase().indexOf('chrome') > -1 ) { var desc = navigator.mimeTypes['application/x-shockwave-flash'].description.toLowerCase(); if( desc.indexOf('adobe') > -1 ) { return true; } } return false;}alert(isChro... 阅读全文

posted @ 2013-05-06 11:59 向民 阅读(294) 评论(0) 推荐(0) 编辑

2013年4月25日

摘要: apache环境,在http.conf中新增:<IfModule mod_expires.c>ExpiresActive On<FilesMatch "\.(gif|jpg|png|js|css)$">ExpiresDefault "access plus 7 days"</FilesMatch></IfModule> 或:ExpiresActive OnExpiresByType image/gif "access plus 7 day"ExpiresByType image/jpg 阅读全文

posted @ 2013-04-25 18:00 向民 阅读(242) 评论(0) 推荐(0) 编辑