nathansearles / slidesjs

SlidesJS is obsolete and no longer maintained.
https://nathansearles.github.io/slidesjs/
1.71k stars 357 forks source link

Extra empty slide? #169

Open BillLyons opened 13 years ago

BillLyons commented 13 years ago

Hello Nathan,

Thank you very much for letting us use this slider, it's great.

I've been trying for a few hours to get this to work on a wordpress page, but I just can't seem to nail this down.

I have 6 images, but the slider keeps inserting an extra blank slide in the second slot. I used the standard example as my starting point, and had everything working great in the local html file, but once I pasted the code into Wordpress I just can't seem to get rid of this extra slide. I really want to use this slider and I'm hoping you can help me.

I'm sure it's some simple thing I'm missing. Here's a link:

http://www.amerilist.com/gallery-test-2/

Thank you!

Bill

kclarkedesign commented 13 years ago

I believe we had the same problem, I solved this by not having any spaces or line breaks between the img tags. for example: <img src="your_img1.png" alt="" width="875" height="338" /><img src="your_img2.png" alt="" width="875" height="338" />