为了弹出层的内容能平滑滚动,给弹出层容器加了 overflow-scrolling: touch; 结果发现在IOS下,弹出层容器下的绝对定位的导航和脚部闪现。无论是fixed还是改成absolute,都无法解决问题。 解决办法就是给要滚动的内容加一层div,在这个div上,设定平滑滚动。 ...
分类:
移动开发 时间:
2018-04-09 11:11:13
阅读次数:
340
<iframe src="html/bai.jsp" frameBorder=0 id=middle name=middle scrolling="yes" style="HEIGHT: 400; VISIBILITY: inherit; WIDTH: 100%; Z-INDEX: 1"> </if ...
分类:
Web程序 时间:
2018-04-04 20:53:59
阅读次数:
205
先给出结论:Dialog和AlertDialog并不会影响到Activity的生命周期,但会影响到Activity的优先级。 核心代码: 有兴趣的同志可以新建个Activity体验一下。 ...
分类:
移动开发 时间:
2018-04-01 13:20:56
阅读次数:
312
<iframe src=”you page’s url” width=”100″ height=”30″ frameborder=”no” border=”0″ marginwidth=”0″ marginheight=”0″ scrolling=”no” allowtransparency=”ye ...
分类:
其他好文 时间:
2018-03-21 11:54:33
阅读次数:
171
IOS系统bug: 1)input无法输入的问题: -webkit-user-select:none;改成-webkit-user-select:auto; 2)滚动不流畅(overflow-y:auto) -webkit-overflow-scrolling: touch; 注:此属性和overf ...
分类:
移动开发 时间:
2018-03-16 12:38:02
阅读次数:
251
1. https://stackoverflow.com/questions/45871149/ios-11-uicollectionview-when-appearing-scrolling-happens ...
分类:
移动开发 时间:
2018-03-10 11:54:27
阅读次数:
215
K - Transformation HDU - 4578 K - Transformation HDU - 4578 K - Transformation 思路:发现自己的错误竟然是zz般的少了一个取模 ε=ε=ε=(#>д<)? #include<cstdio> #include<cstring ...
分类:
其他好文 时间:
2018-02-26 19:42:34
阅读次数:
157
思路:确定第一行,其他的也就逐步确定了。 #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> using namespace std; int n,m; int minn=1000000009; int ...
分类:
其他好文 时间:
2018-02-22 19:22:46
阅读次数:
137
前段时间做了一个浮层,但在ios上,浮层滑动不流畅,基本上是随着手指的移动而移动,经研究加上-webkit-overflow-scrolling: touch即可 eg: <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" co ...
分类:
移动开发 时间:
2018-02-15 21:42:45
阅读次数:
280
在4gl中CURSOR可以说是每一个程序中都会有的,而CURSOR又分为三种SCROLLING CURSOR、Non-SCROLLING CURSOR、LOCKING CURSOR。 Non-SCROLLING CURSOR的聲明有兩種,一種是先定義好sql語句到一個變量里: DECLARE cur ...
分类:
其他好文 时间:
2018-02-08 11:08:12
阅读次数:
173