Skip to content

Commit dc134fe

Browse files
authored
Update hitNJLZ.html
1 parent b53b256 commit dc134fe

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

test/hitNJLZ.html

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8">
55
<script src="../cdn/jquery.js"></script>
6-
<script>
6+
<!--script>
77
function loadf(){
88
$("#njlzframe").attr('src', $("#njlzframe").attr('src'));
99
}
@@ -20,7 +20,7 @@
2020
});
2121
2222
});
23-
</script>
23+
</script-->
2424
</head>
2525
<body>
2626
<input id="num" width="100px" value="100"></input><br />
@@ -36,4 +36,23 @@
3636
style="position:absolute;margin:5% 5%;"
3737
></iframe>
3838
</body>
39+
<script>
40+
function loadf(){
41+
$("#njlzframe").attr('src', $("#njlzframe").attr('src'));
42+
}
43+
$(document).ready(function(){
44+
var t1;
45+
46+
$("#start").click(function(){
47+
alert($("#num").value);
48+
t1 = window.setInterval("loadf()",10);//parseInt($("#num").value,10)
49+
//$("#njlzframe").attr('src', $("#njlzframe").attr('src'));
50+
});
51+
$("#end").click(function(){
52+
t1 = window.clearInterval(t1);
53+
//$("#njlzframe").attr('src', $("#njlzframe").attr('src'));
54+
});
55+
56+
});
57+
</script>
3958
</html>

0 commit comments

Comments
 (0)