We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have tried to add to the caption the number and total of slides in current display.
I used the following code
if (caption) { caption = $('<p class="bjqs-caption">' + caption + '<b> [ ' + state.currentslide + ' of '+ state.currentindex + ' of '+ state.nextindex + ' of '+ state.nextslide + ' of ' + state.slidecount + ' ]</b></p>'); caption.appendTo($(slide)); }
state.slidecount works, state.currentslide always give 1 and the other variables give a zero value
state.slidecount
state.currentslide
What am I doing wrong ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have tried to add to the caption the number and total of slides in current display.
I used the following code
state.slidecount
works,state.currentslide
always give 1 and the other variables give a zero valueWhat am I doing wrong ?
The text was updated successfully, but these errors were encountered: