Comments (2)
Hi,
You can use the refresh()
method..
please have a look at the example http://sachinchoolur.github.io/lightslider/examples.html#relBlock
var slider = $('#lightSlider').lightSlider();
$.ajax({
...
...
success: function(data) {
$('#lightSlider').append(data);
slider.refresh();
}
});
Regards,
Sachin
from lightslider.
I am retrieving images from backend in jquery ajax success. I need to bind the images into lightslider and display it. For this I initialised like shown above and refreshed in the success function. But slider is not working. I am using v1.1.3 version.
from lightslider.
Related Issues (20)
- Adaptive height bug
- The thumbnail list won't move after reaching the end
- Unable to change the images of a loaded slider
- Jumping scroll on Samsung Internet
- Thumbnail is adding an additional number and last thumb does not show HOT 1
- Gallery swipes unintentionally horizontally when scrolling down on page with slider HOT 3
- The image's are not showing
- [Question] Hide Prev/Next buttons option HOT 1
- Are Webp / Avif supported?
- Issues in Loop option HOT 2
- Please outline your goals for v2
- Slides break on browser zoom
- Can we add a slide after init HOT 1
- Unable to preventDefault inside passive event listener invocation
- mobile swap issue from scrollable div
- Add data attribute upon the loading of lSPager. Continues to get overwritten. HOT 1
- Image Zoom with Fancybox
- Lightslider is not working with Lightgallery V2 HOT 2
- Is it possible to make it peak the next slide on a mobile width screen?
- Getting the instance via selector
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 lightslider.