I want the Thumbnail tab in PrizmDoc Viewer to be open by default. How can this be done?
A simple solution could be to simply implement a 'click-on-the-button' when you first open the Viewer, if you're fine with the user being able to close the thumbnail pane:
$("[data-pcc-toggle=\"dialog-thumbnails\"]").click();
If you'd rather have the tab always open, in viewer.js
there's a function called toggleDialogs(opts)
that checks for whether the thumbnail pane is being toggled through the opts.toggleID
, and if so, adds openClass
to the thumbDialog
. You could modify this logic so that the thumbnail pane is permanently open.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article