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  one year ago   viewed: 617    

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   one year ago

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

Lorenz   one year 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: