Instance Settings
A separate GSBookbar instance is created for each targetted division and has its own settings:
$(selector).gsbookbar({...});
cycleMode | cycleTime | horizontal | manyResults | search | thumbnailSize
Name | Type | Default | Comments |
---|---|---|---|
horizontal | boolean | true | Controls the orientation of the bookbar, being horizontal (true )
or vertical (false ). |
thumbnailSize | enumerated | this.thumbnailsMedium | Control the sizing of the book thumbnails. Use either ($.gsbookbar. )
thumbnailsSmall or thumbnailsMedium . |
search | string or string[] | 'jquery' | The single term to search for, or a list of terms to cycle through. |
manyResults | boolean | false | Control how many results are returned, being few (false ) or many (true ). |
cycleTime | enumerated | this.cycleMedium | Specify the interval between cycles when multiple search terms are provided.
Use one of ($.gsbookbar. ) cycleVShort (3 seconds),
cycleShort (10 seconds), cycleMedium (15 seconds), or
cycleLong (30 seconds). |
cycleMode | enumerated | this.cycleRandom | Specify the order in which search terms are used when multiple are provided.
Use either ($.gsbookbar. ) cycleRandom or
cycleLinear . |