![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
qqheheqq
这个作者很懒,什么都没留下…
展开
-
js cookie读写
需求的js : jquery.cookie.js写cookie:$.cookie("idesktopClientCooKieName",data.username,{path:'/',expires:3});$.cookie("idesktopClientCooKieUid",data.uid);$.cookie("idesktopClientLoginTime",cr原创 2013-12-26 17:46:55 · 451 阅读 · 0 评论 -
js动态移动滚动条至底部
var currentPosition,timer; function GoBottom(){ timer=setInterval("runToTop()",50); } function runToBottom(){ currentPosition=document.documentElement.scrollTop || document.body.scrollTop;原创 2014-04-24 16:00:43 · 870 阅读 · 0 评论 -
js判断object是否为空
function isEmptyObject(obj){ for(var n in obj){return false} return true; }原创 2014-04-24 15:59:30 · 632 阅读 · 0 评论 -
fusioncharts的3D饼图固定大小和角度
在固定大小的div里面,饼图原创 2014-07-23 21:35:42 · 1105 阅读 · 0 评论 -
js 时间格式转换 格林威治时间
//格林威治时间的转换Date.prototype.format = function(format){ var o = { "M+" : this.getMonth()+1, //month "d+" : this.getDate(), //day "h+" : this.getHours(), //hour原创 2014-10-23 15:02:48 · 5981 阅读 · 1 评论 -
easyui弹出框位置超出
/** * 针对panel window dialog三个组件拖动时会超出父级元素的修正 * 如果父级元素的overflow属性为hidden,则修复上下左右个方向 * 如果父级元素的overflow属性为非hidden,则只修复上左两个方向 * @param left * @param top * @returns */var easyuiPanelOnMove = functi原创 2015-02-06 15:30:09 · 490 阅读 · 0 评论