Gallery numbering starts at 0

4 messages Options
Embed this post
Permalink
Doug

Gallery numbering starts at 0

Reply Threaded More More options
Print post
Permalink
Wizzud

Re: Gallery numbering starts at 0

Reply Threaded More More options
Print post
Permalink
Yes, there's a bug in the most recent version.
In the buildBars function of the skin code, the line reading...
counter += '>' + (i++) + '</a>';
should be...
counter += '>' + (++i) + '</a>';
Combine literacy with curiosity and a whole world of information opens up to you
strillogy

Re: Gallery numbering starts at 0

Reply Threaded More More options
Print post
Permalink
Where is this code at? I need to change it, but can't seem to find it.
Wizzud

Re: Gallery numbering starts at 0

Reply Threaded More More options
Print post
Permalink
shadowbox.js (source version)
search down for buildBars
Combine literacy with curiosity and a whole world of information opens up to you