Publishing for the Web
April 8, 2005 12:00 AM
You can't. The issue really is the screen resolution of the user. You can't determine that in advance. So webbrowsers pad with extra space to the right and bottom. Now what you can do, but it is a crummy workaround is to launch your "real" application in a child window and set the dimensions of that window from within Lectora. The reason why it is a crummy workaround is that the original window is still there. You can also go in via javaScript and use the window resize to function but you would have to add that manually each time you publish.....although you may be able to add it as external HTML within your awt file.You can't. The issue really is the screen resolution of the user. You can't determine that in advance. So webbrowsers pad with extra space to the right and bottom. Now what you can do, but it is a crummy workaround is to launch your "real" application in a child window and set the dimensions of that window from within Lectora. The reason why it is a crummy workaround is that the original window is still there. You can also go in via javaScript and use the window resize to function but you would have to add that manually each time you publish.....although you may be able to add it as external HTML within your awt file.
Discussions have been disabled for this post