Skip to content

Commit 6e7c04f

Browse files
author
李阳
committed
test link
1 parent 7a5d5e4 commit 6e7c04f

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

fixedfooter/index.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,17 @@
3232
<div class="footer">
3333
我是底部
3434
</div>
35+
<a href="javascript:;" id="down">下载</a>
3536
</body>
3637

3738
<script src="https://s.ssl.pdim.gs/static/a06553779bc1e8be.js" charset="utf-8"></script>
3839
<script type="text/javascript">
39-
$.get('http://news-at.zhihu.com/api/4/news/latest',function(data) {
40-
console.log(data);
41-
});
40+
$(function(){
41+
$("#down").click(function(event) {
42+
/* Act on the event */
43+
var scheme = "pandatv://1";
44+
window.location.href = scheme;
45+
});
46+
})
4247
</script>
4348
</html>

0 commit comments

Comments
 (0)