想在Gallery 开始滑动时和滑动结束时做一些处理,就需要知道滑动开始和停止的时机1.开始的时机GallerymCoverFlowView = new Gallery(context);final GestureDetectorCompat mGestureDetectorCompat = new...
分类:
其他好文 时间:
2015-04-25 22:25:59
阅读次数:
204
+ (void)initialize{ UINavigationBar *bar = [UINavigationBar appearance];// [self buttonImageFromColor:[UIColor blackColor]] UIImage *image = [UIIm...
分类:
其他好文 时间:
2015-04-25 21:08:15
阅读次数:
150
$(document).scroll(function(){var dHeight = $(document).height();var wHeight = $(window).height();var scrollTop = $(document).scrollTop();if( dHeight-...
分类:
Web程序 时间:
2015-04-25 19:39:00
阅读次数:
156
Declare some constants:private const int WM_SCROLL = 276; // Horizontal scrollprivate const int WM_VSCROLL = 277; // Vertical scrollprivate const int ...
var1 = "foo";// $this->var2 = "bar";// return true;// }////}////$my_class = new myclass();//echo get_class($my_class);//$class_vars =...
分类:
Web程序 时间:
2015-04-24 18:35:35
阅读次数:
144
nginx的配置文件中可以使用的内置变量以美元符$开始,也有人叫全局变量。其中,部分预定义的变量的值是可以改变的。$arg_PARAMETER 这个变量值为:GET请求中变量名PARAMETER参数的值。$args这个变量等于GET请求中的参数。例如,foo=123&bar=blahblah;这个变...
分类:
其他好文 时间:
2015-04-24 16:10:14
阅读次数:
99
目录:内联模板 : script路由机制 : 状态机导航视图 : ion-nav-view模板视图 : ion-view导航栏 : ion-nav-bar回退按钮 : ion-nav-back-button内联模板 : script可能你没有注意过,HTML中常用的script标签在AngularJ...
分类:
移动开发 时间:
2015-04-24 14:06:39
阅读次数:
354
//$(document).on("scroll", scrollcheck); //$(document).off("scroll", scrollcheck); //滚动条事件 $(window).scroll(function (...
分类:
Web程序 时间:
2015-04-23 19:48:16
阅读次数:
216
//滚动条事件 $(window).scroll(function () { //整个浏览器到底的高度_(不包括工具栏!!) //alert($(document).height()); ...
分类:
其他好文 时间:
2015-04-23 19:26:11
阅读次数:
180
开源项目ProgressWheel为我们提供了多样化的圆形滚动条,本篇带领读者利用它来实现自定义的透明效果滚动条。...
分类:
其他好文 时间:
2015-04-23 15:49:49
阅读次数:
176