You are viewing limited content. For full access, please sign in.

Question

Question

Weblink URL - Fit to Page

asked on June 10, 2014

 Morning Folks,


Looking for some help with weblink urls. I want a URL to display the whole document (zoom to fit length of page). Any suggestions for modifying the URL?

 

Thanks


Doug

0 0

Answer

APPROVED ANSWER
replied on June 10, 2014

Hey Doug,

 

If I'm reading your question correctly, it sounds like you want to documents to default to opening in full screen mode when using a certain URL. Is that correct?

 

There is a way to set the default behavior in WebLink's doc viewer to to open documents in full screen mode, although currently this is not supported through URLs. If you'd like to change the default behavior, simply add the following line of custom javascript to the bottom of your DocView.aspx page:

 

 

        <script type="text/javascript">                    
            $(document).ready(function(){ document.getElementById("FullScreenButton").click()});

		</script>  

 

Note that this will open the doc viewer in full screen mode for all users. The document will open in full screen regardless of whether they access the document through URL or through the WebLink UI.

 

 

1 0
replied on February 16, 2021

Hi,

Can you tell me if this javascript will still work with WebLink 10.2? Or is there a URL parameter for the setting now?

If not, is this on the roadmap for WebLink 11?

Thanks in advance ... Janet

0 0

Replies

replied on June 10, 2014

Thanks! Any way to get annotations to show?

0 0
replied on June 10, 2014

Showing annotations by default is a setting in the WebLink 8 Designer:

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.