Hello,
Please can the installableViewer’s drag to scroll (see $.fn.attachDragger) be made optional. With this enabled, selecting text in the viewer is not very easy as the view scrolls while you are trying to drag to select text.
I had to comment out the line("#"+settings.docViewerId+"").attachDragger();
This code reminded me that there are also places in the DocumentViewer.all.js where the ID of the div that holds the viewer is assumed to be viewerHtmlDiv:
if ($("#viewerHtmlDiv").children().width() < page.w) {
window.pgElement.css(“width”, $("#viewerHtmlDiv").children().width() - 17);
}
else if ($("#viewerHtmlDiv").children().width() > page.w && $("#viewerHtmlDiv").children().height() < page.h) {
window.pgElement.css(“width”, page.w);
}
This forces the consumer to use that name for the div otherwise items do not display correctly.
Thanks,
Darryl