I am having trouble with the colorbox i just added on my website.
It turns out that when I apply colorbox on the “anything slider” images, it will show two more images.
They are the first image and last one which get repeated and I don’t know why.
Any help?
If you look at the script for the [first demo on this page](http://css-tricks.github.com/AnythingSlider/demos.html), you’ll see that it uses ColorBox. In the code you just need to make sure you don’t include the cloned panels (needed for infinite scrolling). Something like this:
$(‘#slider1’)
.anythingSlider()
.find(‘.panel:not(.cloned) img’) // ignore the cloned panels
.attr(‘rel’,’group’) // add all slider images to a colorbox group
.colorbox();