1
+ <!DOCTYPE html>
2
+ <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
3
+ <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
4
+ <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
5
+ <!--[if gt IE 8]><!-->
6
+ < html class ="no-js "> <!--<![endif]-->
7
+ < head >
8
+ < meta http-equiv ="content-type " content ="text/html; charset=UTF-8 ">
9
+ < meta charset ="utf-8 ">
10
+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge, chrome=1 ">
11
+ < title > Script.js not load lib js to pass tool speed</ title >
12
+ < meta name ="description " content ="">
13
+ < meta name ="viewport " content ="width=device-width ">
14
+ < link rel ="stylesheet " href ="css/slick.css ">
15
+ < link rel ="stylesheet " href ="css/slick-theme.css ">
16
+ < script src ="js/jquery.js "> </ script >
17
+ < script id ="script-vendor " src ="js/script.js "
18
+ data-slick ="js/slick.js "
19
+ >
20
+ </ script >
21
+ < script type ="text/javascript ">
22
+ ( function ( ) {
23
+ if ( navigator . userAgent . indexOf ( "Chrome-Lighthouse" ) != - 1
24
+ || navigator . userAgent . indexOf ( "GTmetrix" ) != - 1
25
+ || navigator . userAgent . indexOf ( "PingdomPageSpeed" ) != - 1 ) {
26
+ var root = document . getElementsByTagName ( 'html' ) [ 0 ] ;
27
+ root . classList . add ( 'no-js' , 'page-speed' ) ;
28
+ return false ;
29
+ }
30
+ var vendor = document . getElementById ( 'script-vendor' ) ;
31
+ $script ( [ vendor . dataset . slick ] , function ( ) {
32
+ $ ( document ) . ready ( function ( ) {
33
+ var carousel = $ ( '.js-carousel' ) ;
34
+ var carouselSlick = carousel . slick ( carousel . data ( ) ) ;
35
+ } ) ;
36
+ } ) ;
37
+ } ) ( ) ;
38
+ </ script >
39
+ < style > img {width : 100% }</ style >
40
+ </ head >
41
+ < body >
42
+ < div class ="container ">
43
+ < ul class ="slider js-carousel "
44
+ data-infinite ="true "
45
+ data-speed ="300 "
46
+ data-slides-To-Show ="8 ",
47
+ data-slides-To-Scroll ="1 ",
48
+ data-space ="15 "
49
+ data-responsive = '[{"breakpoint": "1024", "settings": {"slidesToShow": "6"}}, {"breakpoint": "800", "settings": {"slidesToShow": "3"}}, {"breakpoint": "600", "settings": {"slidesToShow": "2"}}, {"breakpoint": "460", "settings": {"slidesToShow": "1"}}] '
50
+ >
51
+ < li > < img src ="http://www.starplugins.com/sites/starplugins/images/jetzoom/large/image1.jpg "/> </ li >
52
+ < li > < img src ="http://www.starplugins.com/sites/starplugins/images/jetzoom/large/image2.jpg "/> </ li >
53
+ < li > < img src ="http://www.starplugins.com/sites/starplugins/images/jetzoom/large/image3.jpg "/> </ li >
54
+ < li > < img src ="http://www.starplugins.com/sites/starplugins/images/jetzoom/large/image4.jpg "/> </ li >
55
+ < li > < img src ="http://www.starplugins.com/sites/starplugins/images/jetzoom/large/image5.jpg "/> </ li >
56
+ < li > < img src ="http://www.starplugins.com/sites/starplugins/images/jetzoom/large/image6.jpg "/> </ li >
57
+ < li > < img src ="http://www.starplugins.com/sites/starplugins/images/jetzoom/large/image7.jpg "/> </ li >
58
+ < li > < img src ="http://www.starplugins.com/sites/starplugins/images/jetzoom/large/image8.jpg "/> </ li >
59
+ < li > < img src ="http://www.starplugins.com/sites/starplugins/images/jetzoom/large/image9.jpg "/> </ li >
60
+ < li > < img src ="http://www.starplugins.com/sites/starplugins/images/jetzoom/large/image10.jpg "/> </ li >
61
+ < li > < img src ="http://www.starplugins.com/sites/starplugins/images/jetzoom/large/image11.jpg "/> </ li >
62
+ </ ul >
63
+ </ div >
64
+ </ body >
65
+ </ html >
0 commit comments