-
Notifications
You must be signed in to change notification settings - Fork 304
Open
Description
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
What am I doing wrong ?
Metadata
Metadata
Assignees
Labels
No labels