摘要: 猛击我 阅读全文
posted @ 2012-02-15 17:48 小猩猩君 阅读(189) 评论(0) 推荐(0) 编辑
摘要: github注册、git安装、ssh key获取猛击:http://help.github.com/本文这里省略500字。。。详细说下webstorm下设置,首先确认webstorm是否为最新版,然后点击(file->setting->github)填完后点击test,确保畅通。。。点击以后会出现弹出框,会让你确认新项目的名字。搞定以后底部工具栏会出现2个新功能至于提交项目和更新代码如下图所示,记得要勾选“master” 账户最后上github图文章分享:www.linuxsir.org/main/doc/git/gittutorcn.htmwww.36ria.com/4742pr 阅读全文
posted @ 2012-02-13 16:55 小猩猩君 阅读(14285) 评论(13) 推荐(1) 编辑
摘要: https://github.com/qianzs/感觉用webstorm自带的插件很好用,简单了很多,对github 推广有很大帮助。aptana貌似木有github插件。PS:貌似一定要用最高级账户上传,不然就算上传上去了,github也显示不出来更新内容。 阅读全文
posted @ 2012-02-13 11:08 小猩猩君 阅读(1753) 评论(0) 推荐(0) 编辑
摘要: 右下角的圆角切换标签,其他网站都是HTML5+CSS3做的,淘宝却不是。窥探究竟…… 省去100字,找了半天终于找到了,上图v:roundRect 是什么?度娘告诉我们答案。。。1<htmlxmlns:v>2<head>3<style>4v\:*{behavior:url(#default#VML);}5.qw{width:100px;height:120px;z-index:3;position:absolute;top:55px;left:30px;font-size:14px;}6</style>7</head>8<bod 阅读全文
posted @ 2012-02-10 15:19 小猩猩君 阅读(303) 评论(0) 推荐(0) 编辑
摘要: http://hikejun.com/blog/2011/06/24/%E8%81%8A%E8%81%8A%E5%93%8D%E5%BA%94%E6%80%A7%E8%AE%BE%E8%AE%A1%E5%92%8C%E5%BC%80%E5%8F%91/ 阅读全文
posted @ 2012-02-10 10:37 小猩猩君 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 最近发现各大网站陆续出现了搜索框边上一个小话筒的语音输入功能。网上找了下一定要webkit内核浏览器才能使用,不过win下的safari不知道为什么没有显示,回头看下UA。检测浏览器是否支持1if(document.createElement("input").webkitSpeech===undefined){2alert("Speechinputisnotsupportedinyourbrowser.");3}下面说下怎么实现:显示出来了吧,其实很简单。1<inputtype="text"x-webkit-speech/&g 阅读全文
posted @ 2012-02-10 09:27 小猩猩君 阅读(4438) 评论(1) 推荐(0) 编辑
摘要: 方法如下:1varshow_navigator=navigator.userAgent.toLowerCase();2document.write(show_navigator);IE6:mozilla/4.0 (compatible; msie 6.0; windows nt 5.1; .net clr 2.0.50727)IE7:mozilla/4.0 (compatible; msie 7.0; windows nt 5.1; .net clr 2.0.50727)IE8:mozilla/4.0 (compatible; msie 8.0; windows nt 5.1; triden. 阅读全文
posted @ 2012-02-07 14:27 小猩猩君 阅读(1683) 评论(0) 推荐(0) 编辑
摘要: jQuery1.6.1event鼠标事件在chrome的console.log下会报错,将jQuery升级到1.7.1就可以解决报错问题。 阅读全文
posted @ 2012-02-02 21:45 小猩猩君 阅读(174) 评论(0) 推荐(0) 编辑
摘要: tag: contentRedirects are accomplished using the 301 and 302 status codes. Here's an example of the HTTP headers in a 301 response: HTTP/1.1 301 Moved Permanently Location: http://example.com/newuri Content-Type: text/htmlThe browser automatically takes the user to the URL... 阅读全文
posted @ 2012-02-01 16:15 小猩猩君 阅读(327) 评论(0) 推荐(0) 编辑
摘要: wiki的 HTTP状态码 解释政务网竟然是302 阅读全文
posted @ 2012-02-01 11:21 小猩猩君 阅读(133) 评论(0) 推荐(0) 编辑