8.1创建游标语法格式:declare 游标名 [insensitive] cursor[local | global][forward_only | scroll][static | keyset | dynamic |fast_forward][read_only | scroll_locks ...
分类:
数据库 时间:
2015-03-15 13:39:24
阅读次数:
209
第一种方式是直接使用锚点配合链接标签:
Scroll to here
Jump to H2
现在大多数实现都采用该种方式。但是这种方式没有动画效果,跳转是直接发生的。
第二种方式使用jQuery中的animate方法实现:
var target= $('#h2-anchor').offset().top;
$('body').animate({scrollTop...
分类:
Web程序 时间:
2015-03-14 12:29:07
阅读次数:
154
1、在Activity中使用menu//创建菜单项 public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is pres...
分类:
其他好文 时间:
2015-03-14 09:35:23
阅读次数:
138
http://zmywly8866.github.io/2014/12/16/android-remove-scroll-edge-halo.html 当我们使用SrollView、GrdiView、ListView、ViewPager带有滑动功能的组件时,滑动到边缘时总会出现类似于下图的光晕效果。 这是用...
分类:
移动开发 时间:
2015-03-13 20:55:07
阅读次数:
142
1. 简介
在Android应用程序中,有些需要全屏, 不包含状态栏(System Status Bar), 标题栏( ActionBar), 以及导航栏(Navigation Bar), 这种状态即是Google API 中所定义的Immpresion模式.这种模式常常被游戏应用所采用.
此外还有一些应用需要在全屏模式和非全屏模式下切换, 比如视频播放器.
2....
分类:
其他好文 时间:
2015-03-13 20:46:58
阅读次数:
126
我们要构建一个模块,其中包含一个内容显示的表格,然后上面有一个提供Search的栏位,并对Search中输入栏进行监听,当有改变的时候,触发Search然后对内容表中的内容进行过滤。Demo Link:http://czrmodel.mybluemix.net/catalog.html (顺带推广一...
分类:
其他好文 时间:
2015-03-13 18:07:30
阅读次数:
154