Skip to content

Commit 155265f

Browse files
author
zhangxinxu
committed
for scrollTop remember test
for scrollTop remember test
1 parent 143eb98 commit 155265f

File tree

3 files changed

+38
-3
lines changed

3 files changed

+38
-3
lines changed

test/ajax-html/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<body>
1212
<div id="container"></div>
13-
<div id="pageHome" class="page out">
13+
<div id="pageHome" class="page out" style="overflow:auto;">
1414
<ul>
1515
<li><a href="ajax-page.html" data-container="container">点击加载(缓存,若后2项已请求,则无请求)</a></li>
1616
<li><a href="ajax-page.html#a=1#b=1&c=1#" data-reload>点击加载(每次都请求, 返回含page结构)</a></li>

test/fixed-header-footer/1.html

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,35 @@
66

77
<body>
88
<div class="page out">
9-
<div class="content">页面1内容...</div>
9+
<div class="content">
10+
<p>页面1内容...</p>
11+
<p>页面1内容...</p>
12+
<p>页面1内容...</p>
13+
<p>页面1内容...</p>
14+
<p>页面1内容...</p>
15+
<p>页面1内容...</p>
16+
<p>页面1内容...</p>
17+
<p>页面1内容...</p>
18+
<p>页面1内容...</p>
19+
<p>页面1内容...</p>
20+
<p>页面1内容...</p>
21+
<p>页面1内容...</p>
22+
<p>页面1内容...</p>
23+
<p>页面1内容...</p>
24+
<p>页面1内容...</p>
25+
<p>页面1内容...</p>
26+
<p>页面1内容...</p>
27+
<p>页面1内容...</p>
28+
<p>页面1内容...</p>
29+
<p>页面1内容...</p>
30+
<p>页面1内容...</p>
31+
<p>页面1内容...</p>
32+
<p>页面1内容...</p>
33+
<p>页面1内容...</p>
34+
<p>页面1内容...</p>
35+
<p>页面1内容...</p>
36+
<p>页面1内容...</p>
37+
</div>
1038
</div>
1139
</body>
1240
</html>

test/fixed-header-footer/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,15 @@ <h1>首页</h1>
2626
<div id="pageHome" class="page out">
2727
<div class="content">
2828
<p>首页内容...本页可垂直滚动...</p>
29+
<p>首页内容...本页可垂直滚动...</p>
30+
<p>首页内容...本页可垂直滚动...</p>
31+
<p>首页内容...本页可垂直滚动...</p>
32+
<p>首页内容...本页可垂直滚动...</p>
33+
<p>首页内容...本页可垂直滚动...</p>
34+
<p>首页内容...本页可垂直滚动...</p>
35+
<p><a href="1.html">ajax载入页面1</a></p>
2936
<p><a href="../index.html" data-ajax="false">&laquo; 返回测试引导首页</a></p>
30-
<div style="height: 800px;"></div>
37+
<div style="height: 1000px;"></div>
3138
</div>
3239
</div>
3340

0 commit comments

Comments
 (0)