Programing/WEB
[jQuery] Slick Slider - 로드 시 display:none 일때 refresh 대체
진 주
2020. 9. 16. 17:19
$('a').on("click", function() {
$('#addressesList').css('display', 'block');
$('#addressesList').get(0).slick.setPosition()
});
Edit fiddle - JSFiddle - Code Playground
jsfiddle.net
stackoverflow.com/questions/26677649/slick-slider-loaded-with-displaynone-creates-bad-initiation
Slick Slider loaded with display:none creates bad initiation
I've got a gallery of thumbs and a Slick slider in a layer on top (z-index), hidden through css with display:none. When clicking on of the thumbs the display setting changes to block and the slider...
stackoverflow.com