Difference between revisions of "Team:Tianjin/Resources/JS:photo2"

(Created page with " var setting = { width:1000, height:270, postWidth:658, postHeight:270, scale:0.8, speed:500, verticalAlign:"center"...")
 
 
Line 8: Line 8:
 
         verticalAlign:"center"
 
         verticalAlign:"center"
 
     }
 
     }
     $(".carousel").attr("data-setting",'{ "width":900,"height":411,"postWidth":658}')
+
     $(".carousel2").attr("data-setting",'{ "width":900,"height":411,"postWidth":658}')
     Carousel.init($(".carousel"))
+
     Carousel.init($(".carousel2"))

Latest revision as of 07:11, 29 October 2017

var setting = {
       width:1000,
       height:270,
       postWidth:658,
       postHeight:270,
       scale:0.8,
       speed:500,
       verticalAlign:"center"
   }
   $(".carousel2").attr("data-setting",'{ "width":900,"height":411,"postWidth":658}')
   Carousel.init($(".carousel2"))