How I will get fancybox 2 to NOT loop?

I am putting together a site requiring a lightbox (fancybox 2). It works very well. One change I did for the customer was in the CSS so that the previous and following either "visible" arrows all the time, rather than only during the overflight of the area. Seemed to make it more intuitive.

The thing I'm wondering now is HOW can I change so that when we OPEN the fancybox there will be only an arrow NEXT to what images second (and subsequent) open - AND just be a PREVIOUS arrow when you get at the end? In other words, how can I do not loop back to the first picture? I went to the file js and loop changed to 'false', but that doesn't seem to do the trick.

Anyone here familiar with the way to do this?

Here is a link to the site. If you click on the thumbnail of the fourth, and through the photos, you'll see what I mean. I wish it were one-way, not circular or "looping" back to first.

http://www.watercolorsplus.com/new/landscapes.html

Any help is appreciated!

Dave


Apparently you can set the loop to false: (I have not tried, but it may be useful)

jQuery - Fancybox hide next/previous on name/images - Stack Overflow

$(".fancybox").fancybox ({}

loop: false

});

Tags: Dreamweaver

Similar Questions

Maybe you are looking for