File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!doctype>
2
+ < html >
3
+ < head >
4
+ < script src ="../cdn/jquery.js "> </ script >
5
+ < script >
6
+ $ ( document ) . ready ( function ( ) {
7
+ var t1 ;
8
+ function loadf ( ) {
9
+ $ ( "#njlzframe" ) . attr ( 'src' , $ ( '#iframe' ) . attr ( 'src' ) ) ;
10
+ }
11
+ $ ( "#start" ) . click ( function ( ) {
12
+ t1 = $ ( "#njlzframe" ) . setInterval ( 10 , loadf ( ) ) ;
13
+ } ) ;
14
+ $ ( "#end" ) . click ( function ( ) {
15
+ $ ( "#njlzframe" ) . removeInterval ( t1 ) ;
16
+ } ) ;
17
+
18
+ } ) ;
19
+ </ script >
20
+ </ head >
21
+ < body >
22
+ < button id ="start " value ="开始 "> < button >
23
+ < button id ="end " value ="停止 "> < button >
24
+ < iframe id ="njlzframe "
25
+ src ="http://www.njlz.net/X_Views_Article.asp?articleid=3786&sortid=36 "
26
+ align ="middle "
27
+ frameborder ="1 "
28
+ scrolling ="auto "
29
+ width ="90% " height ="90% "
30
+ style ="margin:90% 90%; "
31
+ seamless
32
+ > </ iframe >
33
+ </ body >
34
+ </ html >
You can’t perform that action at this time.
0 commit comments