File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change 9494 height : 400px ;
9595 overflow : hidden;
9696 }
97- .browser-content iframe {
98- border : none;
99- position : absolute;
100- width : 100% ;
101- height : 2000px ;
102- }
10397 .browser-reload {
10498 font-weight : bold;
10599 }
100+ .css3-browser {
101+ position : absolute;
102+ top : 0 ;
103+ border : none;
104+ position : absolute;
105+ width : 100% ;
106+ height : 3000px ;
107+ transition : top 240s ;
108+ }
109+ .css3-browser .moving {
110+ top : -3000px ;
111+ }
106112 </ style >
107113 </ head >
108114 < body >
115121 </ div >
116122 </ div >
117123 < div class ="browser-content ">
118- < iframe id =" css -browser " name ="iframe " src ="http://www.polygon.com/ "> </ iframe >
124+ < iframe class =" css3 -browser " name ="iframe " src ="http://www.polygon.com/ "> </ iframe >
119125 </ div >
120126 </ div >
121127 < script src ="http://code.jquery.com/jquery-latest.js "> </ script >
122128 < script type ="text/javascript ">
123129 $ ( document ) . ready ( function ( ) {
124130
125131 //Start autoscroll code
126- setTimeout ( function ( ) {
127- $ ( ".browser-content" ) . animate ( { scrollTop : "1400px" } , 70000 , "linear" ) ;
128- } , 2000 ) ;
132+ $ ( '.css3-browser' ) . addClass ( 'moving' ) ;
129133 //End autoscroll code
130134
131135 //Make the buttons work on older browsers (new security doesn't allow this in modern browsers sadly)
You can’t perform that action at this time.
0 commit comments