• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






ghelement

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 6 7 8 下一页

2015年6月25日

PARTITION BY 和 group by
摘要: sum() over (PARTITION BY ...) 是一个分析函数。 他执行的效果跟普通的sum ...group by ...不一样,它计算组中表达式的累积和,而不是简单的和。表a,内容如下:B C D02 02 102 03 202 04 302 05 402 01 502 06 602... 阅读全文
posted @ 2015-06-25 15:58 ghelement 阅读(452) 评论(0) 推荐(0)
 

2015年6月19日

好用的幻灯片
摘要: http://www.swiper.com.cn/api/pagination/2014/1217/69.html效果各种好需要引用样式及jscss:body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form,... 阅读全文
posted @ 2015-06-19 18:15 ghelement 阅读(226) 评论(0) 推荐(0)
 
好的 小图标 html
摘要: 只需引用样式,加入字体文件到项目中就可实现拷贝 Font Awesome 字体目录到你的项目中。font-awesome.min.css 文件到你的项目中。打开你的项目中的 font-awesome.min.css 文件并编辑字体路径指向正确的位置。(解压使用默认就好)英文网站可以直接点击你要的图标... 阅读全文
posted @ 2015-06-19 18:00 ghelement 阅读(414) 评论(0) 推荐(0)
 

2015年6月12日

jQuery checkbox 全选
摘要: jQuery1.6版本以后 if($("#id").attr("checked")) 不能返回 ture 和 false高版本中jQuery 提供prop它将“属性”与“特性”做了区别,属性指的是“name,id”等等,特性指的是“selectedIndex, tagName, nodeName”等... 阅读全文
posted @ 2015-06-12 17:09 ghelement 阅读(226) 评论(0) 推荐(0)
 

2015年5月25日

html5 localStorage和sessionStorage
摘要: 该随便来自:http://www.cnblogs.com/yuzhongwusan/archive/2011/12/19/2293347.htmlhtml5中的Web Storage包括了两种存储方式:sessionStorage和localStorage。sessionStorage用于本地存储一... 阅读全文
posted @ 2015-05-25 14:19 ghelement 阅读(178) 评论(0) 推荐(0)
 
jQuery 回到顶部
摘要: $("XX").click(function(){$(body).animate({scrollTop:0});}) 阅读全文
posted @ 2015-05-25 14:16 ghelement 阅读(127) 评论(0) 推荐(0)
 

2015年5月22日

c# 获取客户端ip
摘要: 针对HttpContext.Current.Request.UserHostAddress 如果客户使用的是代理,将获取不到真是的ip要想透过代理服务器取得客户端的真实IP地址,就要使用Request.ServerVariables("HTTP_X_FORWARDED_FOR")来读取。不过要注意的... 阅读全文
posted @ 2015-05-22 15:09 ghelement 阅读(284) 评论(0) 推荐(0)
 

2015年5月19日

JS 新浪API获取IP归属地
摘要: http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js返回值数据格式:var remote_ip_info = {“ret”:1,”start”:”59.37.164.179″,”end”:”59.37.165.17″,”countr... 阅读全文
posted @ 2015-05-19 21:33 ghelement 阅读(789) 评论(0) 推荐(0)
 

2015年5月18日

c#抓取网站数据
摘要: string url = "http://www.123.com/fast_view?a=1&gameId=25&areaId=0&serverId=0"; string reffer = "http://www.123.com/"; string htm... 阅读全文
posted @ 2015-05-18 15:20 ghelement 阅读(325) 评论(0) 推荐(0)
 
sessionStorage用于分页,瀑布流和存储用户数据等
摘要: 在手机网页开发中,会用到分页和瀑布流来分量显示数据。这里会遇到一个问题。当点击某条数据进入详情后,再按手机的返回键会到上一个页面,该页面是重新加载的。本人在微信里用内置的qq浏览器打开页面,window.history.back(),window.history.go()这些不说参数会重置,但a标签... 阅读全文
posted @ 2015-05-18 15:10 ghelement 阅读(340) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 6 7 8 下一页