Ninja Slider / Posts /

Close gap between slides


There is alway a gap between the slides. is there a way to close it, so that the images line up in a "row" and the sliding is neat?

Lorenz  7 years ago   viewed: 2814    

2 Answers


You can try open the ninja-slider.js with Notepad, then search for:

if(h)var b="100%";else b=(screen.width/(1.5*f[y].offsetWidth)+.5)*100+"%";

Then replace it with:

var b="100%";

I am not sure if it will work well or not. Please let me know your testing result. Thanks.

Milo   7 years ago

Works like a charm! Even when resizing the browser window. Thank you.

Lorenz   7 years ago


Your name*
(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: