Templates doesn’t work at first page load
-
I added few Amazon product into a page.
Selected the Carousel template.But, when I load the page, the products aren’t into the carousel.
Only when I resize the window browser, it appear the carousel template.
Looking into js, I saw the “updateLayout” function.
It’s called every time the user will resize the window:
jQuery(window).resize(updateLayout);But it’s called also at jQuery(document).ready(function() …
I added few console.log into the code, just to check the variables values at first time.
And I noticed that the first time the page load, all variables are set to 0, like it can’t calculate something.You can look the video I just recorded to show it.
Sorry for my english.
The topic ‘Templates doesn’t work at first page load’ is closed to new replies.