retour sur chargement swiper
This commit is contained in:
parent
ab6f64d511
commit
980a0cf07f
|
@ -980,7 +980,7 @@ class theme extends common {
|
|||
if( $effect === 'vertical'){
|
||||
$size = getimagesize($imageFile[0]);
|
||||
$swiperContent .= '<script>var verticalBannerHeightImg = '. $size[1]. '; var verticalBannerWidthImg = '.$size[0]. '; var verticalBannerWidthSite = "'. $this->getData(['theme', 'site', 'width' ]).'"; </script>';
|
||||
//$swiperContent .= '<script src="'.helper::baseUrl(false).'core/vendor/swiper/swiperEffectVertical.js"></script>';
|
||||
$swiperContent .= '<script src="'.helper::baseUrl(false).'core/vendor/swiper/swiperEffectVertical.js"></script>';
|
||||
}
|
||||
$swiperContent .= '<div id="headerSwiper"><div class="swiper mySwiper"><div class="swiper-wrapper">';
|
||||
foreach($imageFile as $value ) {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
[
|
||||
"swiper-bundle.min.js",
|
||||
"swiperEffectVertical.js"
|
||||
"swiper-bundle.min.js"
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue