UI层一个登录框,一个密码框,一个验证码框 ,然后一个记住密码 <div class="banner"> <div class="login-aside"> <div id="o-box-up" style="height:400px"></div> <div id="o-box-down" sty ...
分类:
Web程序 时间:
2016-08-01 12:26:27
阅读次数:
202
主要参数: behavior 移动方式 scroll 循环移动 slide 只移动一个回合 alternate 来回移动 scroll 循环移动 slide 只移动一个回合 alternate 来回移动 direction 移动方向 left right up down left right up ...
分类:
Web程序 时间:
2016-08-01 11:55:39
阅读次数:
1549
第二章 1.列表的操作 2.元组的操作 3.字符串操作 4.字典的操作 The reason why people give up so quickly is because they look at how far they still have to go, instead of how far ...
分类:
其他好文 时间:
2016-08-01 10:41:17
阅读次数:
192
题目: Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. Follow up: Did you use extra space? A straight forwa ...
分类:
其他好文 时间:
2016-08-01 06:53:42
阅读次数:
164
题目描述:判断有序list是不是环要求:时间复杂度o(n)原文描述:Given a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?思路:
设置两个指针,一个快指针,每次走两步,一个慢指针,每次走一步
如果块指针==慢指针,那么包含环
注意判断空值和...
分类:
其他好文 时间:
2016-08-01 00:29:05
阅读次数:
134
题目 :Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would hav ...
分类:
其他好文 时间:
2016-07-31 20:32:51
阅读次数:
118
返回顶部按钮 利用 jQuery 中的 animate 和 scrollTop 方法,你无需插件就可以创建简单的 scroll up 效果: // 返回顶部 $('a.top').click(function (e) { e.preventDefault();//ff下阻止滚动条默认行为 $(doc ...
分类:
Web程序 时间:
2016-07-31 12:58:06
阅读次数:
211
Functions are the basic unit of action in jQuery. a function is made up of three parts: the function keyworld any inputs that funciton takes whatever ...
分类:
Web程序 时间:
2016-07-30 17:58:07
阅读次数:
196
Description For the daily milking, Farmer John's N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides to organize a g ...
分类:
其他好文 时间:
2016-07-30 16:45:42
阅读次数:
150
Diamond Collector 题目描述 Bessie the cow, always a fan of shiny objects, has taken up a hobby of mining diamonds in her spare time! She has collected N d ...
分类:
其他好文 时间:
2016-07-30 10:21:25
阅读次数:
201