Pic-Numbers not in sequence

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Pic-Numbers not in sequence

Swiss-Hans
Hi

I've a Problem: The Pic-Numbers under the Picture are not in sequence. Please help.



Hans
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Pic-Numbers not in sequence

megadr01d
This happens when you have for example

counterType: "skip",
counterLimit: 10,

and the number of items in your gallery exceeds 10. According to Shadowbox's options [1]:

"counterLimit // Limits the number of counter links that will be displayed in a "skip" style counter. If the actual number of gallery elements is greater than this value, the counter will be restrained to the elements immediately preceding and following the current element. Defaults to 10."

This means the counter acts as a dial, the currently viewed image is always in the center:

12 13 14 [1] 2 3 4

Next would be:

13 14 1 [2] 3 4 5

[1] http://www.shadowbox-js.com/options.html
Loading...