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="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="100%"
height="100%" align="baseline"
codebase="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="../../menu.jsp";

<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
____________________________________________________

Reply via email to