jQuery slider / Posts /

Disable slider when images not more than 3

0

Hi All,


    how can i disable slider if images not more than 3. and how to disable slider in desktop? for Jquery slider demo 4

Samadhan  7 months ago   viewed: 943    

1 Answer

0

Set the initSliderByCallingInitFunc option in the slider's script to true, and do not init it unless your slider has more than 3 slides;

Use media queries in the CSS to set the slider display:none when the media queries found it is not desktop;

Milo
  6 months ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: