码迷,mamicode.com
首页 >  
搜索关键字:element    ( 12012个结果
leetcode 刷题之路 86 Remove Element
给定一个数组和一个数字,删除数组中相同的数字并返回数组的新长度。...
分类:其他好文   时间:2014-08-13 14:57:46    阅读次数:171
Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他好文   时间:2014-08-13 14:29:46    阅读次数:165
jQuery之选择器
基本选择器: #id 根据Id匹配一个元素 .class 根据给定的类名匹配一个元素 element 根据元素名匹配一个元素 * 匹配所有元素 selecttor1,selector2 并集,返回两个...
分类:Web程序   时间:2014-08-13 12:57:46    阅读次数:268
[LeetCode] Jump Game II(贪婪算法)
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他好文   时间:2014-08-13 00:28:34    阅读次数:324
延迟加载
var imagesrcname='a',thissrolltop=300, lazyLoad=(function(){ var map_element = {}, element_obj = [], download_count = 0, last_offset =...
分类:其他好文   时间:2014-08-12 18:43:54    阅读次数:205
Single Number
Given an array of integers, every element appears twice except for one. Find that single one.Note:Your algorithm should have a linear runtime complexi...
分类:其他好文   时间:2014-08-12 18:29:14    阅读次数:231
Single Number II
Given an array of integers, every element appears three times except for one. Find that single one.Note:Your algorithm should have a linear runtime co...
分类:其他好文   时间:2014-08-12 18:26:14    阅读次数:280
HTML5初学一 随机的骰子
主要是就是在canvas上面画图,没有太多技术含量:Your browser dosen't support the HTML5 element vancas.
分类:Web程序   时间:2014-08-12 16:16:04    阅读次数:597
[LeetCode] Jump Game
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他好文   时间:2014-08-12 10:15:23    阅读次数:149
JS获取渲染后的样式
一般我们利用element.style.属性来获取CSS的样式,而此方法只能获取标签内的样式,无法获取头部或引入的样式,因此,而我们又需要获取其样式,则我们可以使用:(其中element为标签,proName为属性)document.defaultView.getComputedStyle(elem...
分类:Web程序   时间:2014-08-11 20:31:52    阅读次数:224
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!