不知怎么的, 我的Visio中按方向键不能移动目标对象, 效果却是移动整个画布. 上网查了一下, 找到了原因. 因为不知怎么的错按了键盘上的Scroll Lock键, 再按一下就好了. 参考资料 ================ Arrow Key Moves Whole Page in Visio...
分类:
移动开发 时间:
2016-01-29 12:18:39
阅读次数:
135
// 滑动分页 $(window).scroll(function() { var mayLoadContent = $(window).scrollTop() >= $(document).height() - $(window).height(); var docHeight = $(docum
分类:
移动开发 时间:
2016-01-29 11:34:04
阅读次数:
245
常用的背景相关属性:以下属性均在style内设置 background:设置对象的背景样式,不建议直接通过该属性来控制 background-attachment:设置背景图片是随对象内容滚动还是固定的,可选值: scroll:会随内容的滚动而滚动 fixed:背景图片固定 background-c
分类:
其他好文 时间:
2016-01-28 21:05:23
阅读次数:
225
哎不多说了....最近过年特忙..所以都忘记了..现在才补起。 还是老样子 1、CSS <style> #banner .scroll img {width: 750px;height: 500px;} #banner .before img{width: 32px;height: 63px;} #
分类:
Web程序 时间:
2016-01-28 18:45:41
阅读次数:
240
// intelligent scrolling of the sidebar content $(window).scroll(function() { var max = function(a, b) { if (a >= b) return a; else return b; } var mi
分类:
其他好文 时间:
2016-01-27 23:05:02
阅读次数:
196
RelativeLayout中的布局,自适应宽度布局该图片中为android布局:总布局为 RelativeLayoutAtLeft 为居左amp;$lt;/TextView>AtRight为居右amp;$lt;/TextView>Scroll为中间的布局amp;$lt;/TextView>在中间的...
分类:
其他好文 时间:
2016-01-22 03:02:31
阅读次数:
116
在NSTimer代码后面加上以下代码,这样滚动scroll的时候就不会暂停了。NSRunLoop *t = [NSRunLoop currentRunLoop];[t addTimer:timerforMode:forMode:NSRunLoopCommonModes]其中timer是自定义的NST...
分类:
移动开发 时间:
2016-01-21 19:26:40
阅读次数:
145
本次思想主要是通过 Ngui的Scroll View 主要是UIPanel的Clipping属性的Alipha Clip 调节窗口大小,遮蔽地图试地图实现在屏幕的部分显示。此方法的好处是不用担心shader 等东西。 简单易上手。 步骤走起:第一步:创建Scroll View第二步:调节大小调节前调...
分类:
编程语言 时间:
2016-01-21 00:17:48
阅读次数:
421
好记性不如烂笔头。。。算是做个笔记,第一个从Anchor scroll开始吧, 喝杯咖啡的时间就能看完,长的不看 :)$anchorScroll()用于跳转至定义ID;$location对象的hash()方法会替换当前url作为hash键;$anchorScroll()读取并跳转至ID处。下面简单的...
分类:
Web程序 时间:
2016-01-19 14:18:36
阅读次数:
183
单纯判断滚动条方向function scroll( fn ) { var beforeScrollTop = document.body.scrollTop, fn = fn || function() {}; window.addEventListener("scroll...
分类:
Web程序 时间:
2016-01-18 17:17:39
阅读次数:
1509