码迷,mamicode.com
首页 >  
搜索关键字:scroll bar    ( 8099个结果
highcharts点击事件系列
http://www.highcharts.com/demo/line-ajax参考设置(bar 柱状图)plotOptions: { series: { cursor: 'pointer', point: { events: { click: function (e) { alert(this.....
分类:其他好文   时间:2015-07-22 20:44:55    阅读次数:339
leetCode 84.Largest Rectangle in Histogram (最大矩形直方图) 解题思路和方法
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram. Above is a histogram where width o...
分类:其他好文   时间:2015-07-22 14:40:08    阅读次数:95
NSTableView NSImage
NSTableView主要代码// create a table view and a scroll viewNSScrollView * tableContainer = [[NSScrollView alloc] initWithFrame:NSMakeRect(10, 10, 380, 200...
分类:其他好文   时间:2015-07-22 12:59:15    阅读次数:105
iOS 小坑集锦
在做自己的第一个 iOS app,一路遇到不少困难,好在靠 Google 和 StackOverflow 都解决了,自己也不知道是否是 best practice,为了赶进度只要 work 就好。 隐藏 Tab bar 在以 Tab bar 划分模块的 app 中有些非一级界面是不需要底部的标签栏的,只需要在该 ViewController 的viewWillAppear:中加入设置标...
分类:移动开发   时间:2015-07-22 10:54:49    阅读次数:115
iOS设置UINavigationBar 的样式
为了方便演示,我用storyBoard建立了一个基本的导航栏 并在代码中获得了NavgationBar UINavigationBar *bar = self.navigationController.navigationBar;1[bar setTintColor:[UIColor whiteCo...
分类:移动开发   时间:2015-07-21 12:32:24    阅读次数:129
LeetCode42:Trapping Rain Water
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. For example,  Given [0,1,0,2,1,0,1,3,2,1,2,1]...
分类:移动开发   时间:2015-07-20 19:45:52    阅读次数:175
阅读javaScript 的原型笔记
下面我们先看一个例子已经一张图。function Foo() {}Object.prototype.name = 'My Object';Foo.prototype.name = 'Bar';var obj = new Object();var foo = new Foo();console.log...
分类:编程语言   时间:2015-07-20 19:16:35    阅读次数:138
WebApp上滑加载数据...
$(window).bind("scroll", function () { if ($(document).scrollTop() + $(window).height() > $(document).height() - 5) { //做些什么...
分类:移动开发   时间:2015-07-20 16:10:44    阅读次数:149
[LeetCode][Java] Largest Rectangle in Histogram
题目: Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histogram. Above is a histogram where wi...
分类:编程语言   时间:2015-07-19 13:35:37    阅读次数:128
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!