//获取当前时间 2015年10月14日 10:10:37nowTime:function(){ var date = new Date(); var year = date.getFullYear(); var month = date.getMon...
分类:
Web程序 时间:
2015-10-19 16:54:15
阅读次数:
161
1 function hehe(o,oo){ 2 o = 'xoxo' 3 oo.ins.name = 'zhangmingzhi;' 4 } 5 var obj = { 6 i...
分类:
其他好文 时间:
2015-10-19 15:36:04
阅读次数:
231
create partition function RangeTime (datetime) as range left for values ('2012-12-31','2013-12-31','2014-12-31') select $partition.RangeTime(1)SELECT....
分类:
数据库 时间:
2015-10-19 15:15:59
阅读次数:
241
Given an arraynums, write a function to move all0's to the end of it while maintaining the relative order of the non-zero elements.For example, givenn...
分类:
其他好文 时间:
2015-10-19 12:34:28
阅读次数:
120
window.Zepto = Zepto'$' in window || (window.$ = Zepto)if ( typeof define === "function" && define.amd ) { define( "zepto", [], function () { return ....
分类:
Web程序 时间:
2015-10-19 12:25:25
阅读次数:
554
$digest: function() { var watch, value, last, watchers, length, dirty, ttl = TTL, next, current, ta...
分类:
其他好文 时间:
2015-10-19 12:18:10
阅读次数:
172
次序:angular 的 location会先跑$rootScope.$on("$locationChangeStart", function (scope, newUrl, oldUrl) { log("$locationChangeStart from " + oldUrl) log...
分类:
其他好文 时间:
2015-10-19 12:13:47
阅读次数:
229
找到:phpcms\modules\content\classes\html.class.php 文件 然后找到 public?function?index()?{ ... } 将以上function里面的index.html全部换成其他的文件名即可。...
分类:
Web程序 时间:
2015-10-19 11:04:00
阅读次数:
150
//信息框-例1layer.alert('见到你真的很高兴', {icon: 6}); //信息框-例2layer.confirm('你确定你很帅么?', {icon: 3}, function(index){ layer.close(index); alert('自恋狂');});//...
分类:
Web程序 时间:
2015-10-19 10:50:03
阅读次数:
206
就是一个停留在页面右侧的滑动菜单,点击可以拉出,带回调函数。宽高位置可以参数指定。插件代码如下:(jquery的路径请自己修改)(function($){$.fn.sideSwitch = function(opts){ var defaults = { contentW...
分类:
Web程序 时间:
2015-10-19 09:19:10
阅读次数:
223