----- Original Message -----
Sent: Thursday, January 09, 2003 12:45
AM
Subject: [jdjlist] RE: Swing Applet with
Object tag. Redirecting problrm f rom <NOEMBED></NOEMBED>
Biswajit,
How about giving them a cancel button while the Applet is
loading that takes them to the _javascript_ menu? You can then remove the
cancel button once the applet is fully loaded. Simple way to do this, is
to start a JS timer checking for an existence of an applet's internal public
attribute every second or so, when it does show up, stop the timer and remove
the cancel button from the HTML using the <DIV> tag's inner html
attribute.
Any thoughts?
HSFGreg
-----Original Message-----
From:
Biswajit Ghosal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 07, 2003 9:32 PM
To:
JDJList
Cc: Biswajit Ghosal
Subject: [jdjlist] Swing Applet with Object tag. Redirecting
problrm
from <NOEMBED></NOEMBED>
Hi,
I am writing a swing applet for a menu. I have two versions of
the menu, one
is the applet and the other one is the
_javascript_ version of the same menu.
If the user has
the plug-in installed, the applet version will be loaded and
if the user does not, then the popup for the installation is
coming.
Now, I want to redirect to the page, which contains the
_javascript_ version
of the menu, if the user cancel the
download.
I am using the object tag like the following
<OBJECT
classid="" width="100%"
height="100%" align="baseline"
codebase=""http://java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#V"
target=_blank>http://java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#V
ersion=1,2,2,0">
<PARAM name="code" value="OslMenu">
<PARAM name="codebase" value=".">
<PARAM NAME = ARCHIVE VALUE = "menu.jar" >
<PARAM name="type"
value="application/x-java-applet;version=1.2.2"><COMMENT>
<EMBED type="application/x-java-applet;version=1.2.2"
width="200"
height="200" align="baseline"
code="OslMenu" codebase=""
pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html">
<NOEMBED></COMMENT>
</NOEMBED>
</EMBED>
</OBJECT>
I can not write the following within the
<NOEMBED></NOEMBED>
<script language='_javascript_'>
document.lication.href="";
<script/>
Any help??
Thank you in advance.
Biswajit
Sun Certified java
programmer
Ontrack Systems Limited
276B Lake Gardens
Kolkata - 700045
India
Phone - 91-33-4178434,35
Fax - 91-33-4221274
Mobile -
+919830187749
____________________________________________________
To change your JDJList options, please visit:
http://www.sys-con.com/java/list.cfm
Be respectful! Clean up your posts before replying
____________________________________________________
____________________________________________________
To change your
JDJList options, please
visit:
http://www.sys-con.com/java/list.cfm
Be respectful! Clean up
your posts before
replying
____________________________________________________
____________________________________________________