javascript - how to add thumbnails to dots of slick slider mentioning the current slide -
I am currently working on a new project for which the slider is required, I applied smart js for one of my projects
Now I have to add a thumbnail which will be visible when we rotate the points which are linked to the slider
For example, first click on the thumb and click on the slider Will move on the first slide. ... On the third slide, click on the third slide
HTML
& lt; Html & gt; & Lt; Top & gt; & Lt; Title & gt; My amazing webpage & lt; / Title & gt; & Lt; Link rel = "stylesheet" type = "text / css" href = "crawl / slick css" /> & Lt; Link rel = "stylesheet" type = "text / css" href = "crawl / style.css" /> & Lt; / Head & gt; & Lt; Body & gt; & Lt ;! - This slider code is - & gt; & Lt; Div class = "center" & gt; & Lt; Div & gt; & Lt; Img alt = "slide2" src = "image / img1.jpg" & gt; & Lt; / Div & gt; & Lt; Div & gt; & Lt; Img alt = "slide2" src = "image / img2.jpg" & gt; & Lt; / Div & gt; & Lt; Div & gt; & Lt; Img alt = "slide 2" src = "image / img3.jpg" & gt; & Lt; / Div & gt; & Lt; Div & gt; & Lt; Img alt = "slide 2" src = "image / img4.jpg" & gt; & Lt; / Div & gt; & Lt; Div & gt; & Lt; Img alt = "slide 2" src = "picture / img5.jpg" & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt; Script type = "text / javascript" src = "slit / jquery-1.11.0.min.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "slit / jquery-migrate-1.2.1.min.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "slick / slick.man.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; $ ('Center'). Clever ({centerMode: true, centerPadding: '60px', SlideShow: 1, Dots:! 0, / * This is for navigation points / / Dragable:! 1, Responsive: [{Breakpoint: 768, Settings: {Arrows: false, center mode: true, centerpadding: '40px', Slide show: 1}}, {breakpoint: 480, settings: {arrow: wrong, center mode: right, center text: '40px', Slide Show: 1}}]}); & Lt; / Script & gt; & Lt; / Body & gt; & Lt; / Html & gt;
You can change the dots with custom thumbnails so that you can add the thumbnails elsewhere Look for the code for the reference:
$ ('. Slideme'). ({Point: true, custom popping: Function (slider, I) {// "Tabs" returns with titles from this example
Comments
Post a Comment