You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first of all thanks for your great codes!
I have a problem with b-lazy in product slider. the front images have not any issue but when click to slide other images dosn't show as normal as always until scroll up or down the page.
I added this code to header of html and the problem solved but its ok in all browsers exept firefox.
the code is : <script> window.bLazy = new Blazy({ container: '.owl-wrapper ', success: function(element){ console.log("Element loaded: ", element.nodeName); } }); </script>
on website: kazmatix.com
The text was updated successfully, but these errors were encountered:
alisafavieh
changed the title
images dosn't apear in slider container
images dosn't appear in slider container
Jul 19, 2017
I dont dont use Owl, but Slick. It has an event firing after a slide changes.
Each time the slide changes, I use the revalidate method to re-run bLazy.
// instantiating bLazy
var bLazy = new Blazy({
selector: '.lazy',
});
// for breviety, instantiating the carousel is not showed here
// here is how bLazy.revalidate() is used to run bLazy again
jQuery('.js-slide').on('afterChange', bLazy.revalidate);
From the Owl documentation, here is such an event :
var owl = $('.owl-carousel');
owl.owlCarousel();
// Listen to owl events:
owl.on('changed.owl.carousel', function(event) {
...
})
first of all thanks for your great codes!
I have a problem with b-lazy in product slider. the front images have not any issue but when click to slide other images dosn't show as normal as always until scroll up or down the page.
I added this code to header of html and the problem solved but its ok in all browsers exept firefox.
the code is :
<script> window.bLazy = new Blazy({ container: '.owl-wrapper ', success: function(element){ console.log("Element loaded: ", element.nodeName); } }); </script>
on website: kazmatix.com
The text was updated successfully, but these errors were encountered: