1
DocumentUltimate and filling the screen on loading
Question asked by Bob Smith - March 24 at 5:44 AM
Unanswered
I am creating a demo of DocumentUltimate using the trial version to make sure it fits my company and client's needs.  I am having trouble getting the tool to automatically fill the screen with FullViewport option.  It will automatically take the width of the browser, but loads with a small height (<300px).  I have looked through some of the documentation with no solution that I have been able to find.  I have also tried some CSS changes with classes and ids, but those seem sub-optimal for a solution.  How can I get DocumentUltimate to fill both the width and the height of the browser automatically?  Thank You.

1 Reply

Reply to Thread
0
Bob Smith Replied
March 24 at 9:18 AM
I did find a way with jQuery to resolve this issue, but it would be nice if it was handled by the viewer automatically.
 
jQuery Code:
$(document).ready(function () {
            ChangeDocumentViewerSize();          
});

$(window).resize(function () {
            ChangeDocumentViewerSize();
});
        
function ChangeDocumentViewerSize() {
            $('#dvDemo').width($(window).width());
            $('#dvDemo').height($(window).height());
}
 

Reply to Thread