FibonacciDescriptionIn the Fibonacci integer sequence,F0= 0,F1= 1, andFn=Fn? 1+Fn? 2forn≥ 2. For example, the first ten terms of the Fibonacci sequenc...
分类:
其他好文 时间:
2014-11-26 16:08:44
阅读次数:
125
Description
In the Fibonacci integer sequence, F0 = 0, F1 = 1, and Fn = Fn ? 1 + Fn ? 2 for n ≥ 2. For example, the first ten terms of
the Fibonacci sequence are:
0, 1, 1, 2, 3, 5, 8, 13, 21, ...
分类:
其他好文 时间:
2014-11-26 14:21:57
阅读次数:
129
$.extend($.fn.datagrid.defaults.editors,{ combobox: { init: function(container, options){ var combo = $('').appendTo(container); ...
分类:
其他好文 时间:
2014-11-26 13:44:14
阅读次数:
202
jQueryEasyUIMessager基本使用$.messager.alert(title,msg,icon,fn)基本用法:eg.$.messager.alert("操作提示","操作成功!");icon使用:icon四种设置:"error"、"info"、"question"、"warning"eg.$.messager.alert("操作提示","操作成功!","info")eg.$.messager.alert("操作提..
分类:
Web程序 时间:
2014-11-25 19:02:12
阅读次数:
190
$.fn.retarder = function(delay, method) { var node = this; if (node.length) { if (node[0]._timer_) clearTimeout(node[0]._timer_); ...
分类:
Web程序 时间:
2014-11-25 18:08:30
阅读次数:
211
1 选择分支 0.00 ${royalties } 2 判断 在线 离线 3. 三目运算 ${fn:length(pr.req_remark)>21 ? fn:substring(pr.req_remark,0,21) : pr.req_rem...
分类:
Web程序 时间:
2014-11-25 17:50:58
阅读次数:
199
(function($) { $.fn.sideFixed = function(options) { var opts = $.extend(true, {}, $.fn.sideFixed.defaults, options); return this.each(functi...
分类:
其他好文 时间:
2014-11-25 12:13:59
阅读次数:
206
//新闻滚动(function($) { $.fn.myScroll = function(options) { var opts = $.extend(true, {}, $.fn.myScroll.defaults, options); return this.each(fu...
分类:
其他好文 时间:
2014-11-25 10:32:14
阅读次数:
202
这节主要研究下object的一个属性,behaviors定义一个behavior需要提供name,trigger,reaction(behavior ::on-close-destroy :triggers #{:close} :reaction (fn [thi...
分类:
其他好文 时间:
2014-11-24 06:21:58
阅读次数:
123
window.onload 比ready要慢,但是每次都写一个onready事件,又太费事了,在这里封装一个ready,以后方便用function $(fn){ if(document.addEventListener){ document.addEventListener('D...
分类:
其他好文 时间:
2014-11-23 14:21:48
阅读次数:
177