PrizmDoc Viewer v13.6 - Updated
Configuring Skinny Comments Panel
Administrator Guide > System Configuration > Configure the Viewer > Configuration Options > Configuring Skinny Comments Panel

To better accommodate the Comments view in both small and large viewers, the Viewer automatically switches between displaying the comments in their entirety to displaying only a Comments icon. When you click the Comments icon, the full comment is expanded. By default, the mode automatically switches between the two pages on the space available for viewing the document.

The commentsPanelMode options are:

The examples below show the use of the commentsPanelMode configuration parameter.

Forcing the Viewer to always display skinny comments:

Example
Copy Code
var pluginOptions = {
    documentID: viewingSessionId,
    language: languageItems,
    template: htmlTemplates,
    commentsPanelMode: "skinny"
};
$(document).ready(function () {
    var viewerControl = $("#viewer1").pccViewer(pluginOptions).viewerControl;
});

Forcing the Viewer to always display full comments:

Example
Copy Code
var pluginOptions = {
    documentID: viewingSessionId,
    language: languageItems,
    template: htmlTemplates,
    commentsPanelMode: "full"
};
$(document).ready(function () {
    var viewerControl = $("#viewer1").pccViewer(pluginOptions).viewerControl;
});

Allowing the Viewer to choose between skinny and full comments – note, this is the default option, so it does not need to be explicitly defined:

Example
Copy Code
var pluginOptions = {
    documentID: viewingSessionId,
    language: languageItems,
    template: htmlTemplates,
    commentsPanelMode: "auto"
};
$(document).ready(function () {
    var viewerControl = $("#viewer1").pccViewer(pluginOptions).viewerControl;
});