Comments (2)
Look at the API, swiperCar.height
will return you slider's height. Or using jQuery like $('.swiper-container').height()
from swiper.
thank you for your help
it's work
$(function(){
/* Carousel mode: */
var swiperCar = $('.swiper-car').swiper({
pagination : '.pagination-car',
slidesPerSlide : 3,
});
$('.swiper-car').height('400px')
swiperCar.swipeTo(7);
var swiperCar = $('.swiper-car2').swiper({
pagination : '.pagination-car2',
slidesPerSlide : 3
});
swiperCar.swipeTo(7);
$('.swiper-car2').height('60px')
})
from swiper.
Related Issues (20)
- slidesOffsetAfter does not work with grid.rows > 1 HOT 2
- Cannot read properties of undefined (reading 'touchId') HOT 3
- Closing a modal changes active slide and breaks loop mode HOT 1
- Swiper isn't working when using register function with Stenciljs framework HOT 2
- creativeEffect not working ? - Nextjs - webComponent HOT 2
- Page becomes black blank when we do resize HOT 3
- slidesPerView: "auto" doesn't work property (slidesPerView: "auto" == slidesPerView: 1) HOT 1
- Get accessibility parameters from markup HOT 1
- Dynamic bullets are reset in loop mode when the last slide reached HOT 1
- Customize pagination style
- Not looping smoothly with freeMode enabled
- swiper thumbs work differently depending on direction swiped.
- First image not loading initially in Swiper with dir="rtl" in Next.js HOT 1
- Virtual + loop with amount of slides less or equal to 3 leads to rendering duplicates
- maxBackfaceHiddenSlides parameter doesn't work when given less than 10 HOT 1
- `navigation-hide-on-click="true"` hides navigation when clicking nextEl/prevEl HOT 4
- Coverflow Effect Issue on new iOS Devices HOT 1
- `slidesPerView: "auto"` and virtual slides support HOT 1
- Slider backface hidden on updating the slides
- Thumbs Module not working on Strict Mode
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiper.