Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Minimizing the parent applet window using a Minimize java script function

sharpeDec 2 2008 — edited Dec 2 2008
Hi. I'm attempting to minimize the parent applet window (the one with the big gray box) on start-up while using the separateFrame=true option. I define and call a Minimize function that I'm told should minimize the window on start-up. See my webutiljini.htm file below.

When I start my form this file is run. I've confirmed it runs because I see the proper title as it is defined in the webutiljini.htm file. However, the parent applet window does NOT minimize. I'm wondering if something is wrong with the Minimize function code resulting in the minimization never happening.

Any help here would be greatly appreciated!!!


<HEAD><TITLE>oracle Application Server Forms Services - DO NOT CLOSE - WebUtil</TITLE>
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
function Minimize()
*{window.moveTo(10000,10000);*
window.blur();
window.onfocus = new Function("window.moveTo(10000,10000);"); } </SCRIPT>
<noscript> JavaScript is not enabled in your Browser.
</noscript>
</HEAD>
<BODY onLoad='javascript:self.moveTo(1601,1201)' onload="Minimize()">
<SCRIPT LANGUAGE="JavaScript">window.opener = top;</SCRIPT>
<!-- Registration applet definition (start) -->
<OBJECT classid="clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF"
codebase="/forms/jinitiator/jinit.exe#Version=1,3,1,22"
WIDTH="0"
HEIGHT="0"
HSPACE="0"
VSPACE="0">
<PARAM NAME="TYPE" VALUE="application/x-jinit-applet;version=1.3.1.22">
<PARAM NAME="CODEBASE" VALUE="/forms/java">
<PARAM NAME="CODE" VALUE="oracle.forms.webutil.common.RegisterWebUtil" >
<PARAM NAME="ARCHIVE" VALUE="frmwebutil.jar,jacob.jar" >
<COMMENT>
<EMBED SRC="" PLUGINSPAGE="/forms/jinitiator/us/jinit_download.htm"
TYPE="application/x-jinit-applet;version=1.3.1.22"
java_codebase="/forms/java"
java_code="oracle.forms.webutil.common.RegisterWebUtil"
java_archive="frmwebutil.jar,jacob.jar"
WIDTH="1"
HEIGHT="1"
HSPACE="0"
VSPACE="0"
>
<NOEMBED>
</COMMENT>
</NOEMBED></EMBED>
</OBJECT>
<!-- Registration applet definition (end) -->
<!-- Forms applet definition (start) -->
<OBJECT classid="clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF"
codebase="/forms/jinitiator/jinit.exe#Version=1,3,1,22"
WIDTH="500"
HEIGHT="500"
HSPACE="0"
VSPACE="0">
<PARAM NAME="TYPE" VALUE="application/x-jinit-applet;version=1.3.1.22">
<PARAM NAME="CODEBASE" VALUE="/forms/java">
<PARAM NAME="CODE" VALUE="oracle.forms.engine.Main" >
<PARAM NAME="ARCHIVE" VALUE="frmall_jinit.jar,frmwebutil.jar,jacob.jar" >
<PARAM NAME="serverURL" VALUE="/forms/lservlet?ifcfs=/forms/frmservlet?config=ttmsmenu&userid=ssbuechl/fgh123fgh@fc&acceptLanguage=en-us">
<PARAM NAME="networkRetries" VALUE="0">
<PARAM NAME="serverArgs"
VALUE="escapeParams=true module=ttmsmenu.fmx userid= sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record= tracegroup= log= term=">
<PARAM NAME="separateFrame" VALUE="true">
<PARAM NAME="splashScreen" VALUE="no">
<PARAM NAME="background" VALUE="no">
<PARAM NAME="lookAndFeel" VALUE="oracle">
<PARAM NAME="colorScheme" VALUE="teal">
<PARAM NAME="serverApp" VALUE="default">
<PARAM NAME="logo" VALUE="ttms_banner.gif">
<PARAM NAME="imageBase" VALUE="codeBase">
<PARAM NAME="formsMessageListener" VALUE="">
<PARAM NAME="recordFileName" VALUE="">
<PARAM NAME="EndUserMonitoringEnabled" VALUE="">
<PARAM NAME="EndUserMonitoringURL" VALUE="">
<PARAM NAME="heartbeat" VALUE="">
<PARAM NAME="WebUtilLogging" VALUE="off">
<PARAM NAME="WebUtilLoggingDetail" VALUE="normal">
<PARAM NAME="WebUtilErrorMode" VALUE="Alert">
<PARAM NAME="WebUtilDispatchMonitorInterval" VALUE="5">
<PARAM NAME="WebUtilTrustInternal" VALUE="true">
<PARAM NAME="WebUtilMaxTransferSize" VALUE="16384">
<COMMENT>
<EMBED SRC="" PLUGINSPAGE="/forms/jinitiator/us/jinit_download.htm"
TYPE="application/x-jinit-applet;version=1.3.1.22"
java_codebase="/forms/java"
java_code="oracle.forms.engine.Main"
java_archive="frmall_jinit.jar,frmwebutil.jar,jacob.jar"
WIDTH="500"
HEIGHT="500"
HSPACE="0"
VSPACE="0"
serverURL="/forms/lservlet?ifcfs=/forms/frmservlet?config=ttmsmenu&userid=ssbuechl/fgh123fgh@fc&acceptLanguage=en-us"
networkRetries="0"
serverArgs="escapeParams=true module=ttmsmenu.fmx userid= sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= buffer_records=no debug_messages=no array=no obr=no query_only=no quiet=yes render=no record= tracegroup= log= term="
separateFrame="true"
splashScreen="no"
background="no"
lookAndFeel="oracle"
colorScheme="teal"
serverApp="default"
logo="ttms_banner.gif"
imageBase="codeBase"
formsMessageListener=""
recordFileName=""
EndUserMonitoringEnabled=""
EndUserMonitoringURL=""
heartBeat=""
WebUtilLogging="off"
WebUtilLoggingDetail="normal"
WebUtilErrormode="Alert"
WebUtilDispatchMonitorInterval="5"
WebUtilTrustInternal="true"
WebUtilMaxTransferSize="16384"
>
<NOEMBED>
</COMMENT>
</NOEMBED></EMBED>
</OBJECT>
<!-- Forms applet definition (end) -->

</BODY>
</HTML>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 30 2008
Added on Dec 2 2008
12 comments
1,306 views