Skip to content

Commit fc61ab5

Browse files
author
李阳
committed
1 parent 45d670a commit fc61ab5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

fixedfooter/index.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,17 @@
2828
<div class="input-wrap">
2929
<input type="text" placeholder="密码">
3030
</div>
31-
31+
<span id="consoleHolder"></span>
3232
<div class="footer">
3333
我是底部
3434
</div>
3535
</body>
3636

3737
<script src="https://s.ssl.pdim.gs/static/a06553779bc1e8be.js" charset="utf-8"></script>
3838
<script type="text/javascript">
39-
39+
var a = 1;
40+
window.resize = function(){
41+
$("#consoleHolder").text(a++);
42+
}
4043
</script>
4144
</html>

0 commit comments

Comments
 (0)