This content has been marked as final. Show 4 replies
You can use Java Script to resize the browser. However, why not try to do the reverse. Change the Applet size to use the entire browser space.
In formsweb.cfg, make the following changes:
This will cause the applet area within the browser to use all of the white with the exception of a small white frame that cannot be used.
Where would this java script be running from? It seems the browser size is already being set somewhere and I need to overwrite the current sizing? Any ideas?
I don't understand your question, so let me restate my previous post.
I am assuming that you are using separateFrame=false (in formsweb.cfg) for the purpose of my examples.
Change the applet size which resides within the browser. Simply make the changes previously mentioned:
If you prefer to change the browser, you can use java script. The java script would be added to the Forms baseXXX.htm file which is appropriate for your environment. If you use Oracle Jinitiator, you will need to add the scripting to basejini.htm and if you use the Sun JPI, you will need to edit basejpi.htm.
The following script would be added to the HEAD section of the html
In the BODY tag, add an ONLOAD event to make the change:
*<BODY %HTMLbodyAttrs% onload="changeBrowserSize(800,810)">*
You will need to set the width and height as needed. In the above example, they have been set to 800 and 810.
This wasn't my thread, but I've been searching for a solution to this issue myself.