Default window size for webhelp?
Posted: Tue Jan 03, 2017 7:52 pm
I have a requirement to force the initial window size for webhelp content to 580x700. How can I set this initial window size? I've tried setting:
in wt_index.html, wt_search.html, wt_terms.html and wt_topic.html, but it does not appear to change the default window size.
Code: Select all
<script Language="JavaScript">
var width=580;
var height=700;
self.moveTo((screen.availwidth-width)/2,(screen.availheight-height)/2);
self.resizeTo(width,height);
</script>