Click to See Complete Forum and Search --> : pls help me to kill this pop up window...:(


atillaselem
05-26-2003, 10:43 AM
hi,
i have a java applet being used in my application. but when someone right clicks on one of the menu items it pops up a new window and tries to connect to a web page on internet.
Since my web application is on a Local Area Network it tries and fails...
How can i kill that window using JavaScript?
is that possible to kill that window although source of it is a Java Applet?

thanks for ur help

atilla.selem

Jona
05-26-2003, 10:51 AM
No, it is not possible to use Javascript to interact with a Java Applet.

khalidali63
05-26-2003, 11:09 AM
Originally posted by Jona
No, it is not possible to use Javascript to interact with a Java Applet.

On the contrary,its quite possible as well as quite common to use applets and JavaScript communicate with each other,

Now in response to the thread.

Please post your code here for to see that if its the JS thats opening a window or the applet,in either case you will have to post your code.

:p

atillaselem
05-26-2003, 11:26 AM
this is the code of the applet that i use in my own page entrance...
you can go right here (http://galeon.hispavista.com/la-web-de-kili/anarkismo1.htm) and see what is happening when u right click on that ball menu applet...



<applet Code="apMenu.class" Archive="apMenu.jar" Width="330" Height="17">
<param name="Copyright" value="Apycom Software - www.apycom.com">
<param name="isHorizontal" value="true">
<param name="status" value="text">
<param name="fadeType" value="2">
<param name="fadeSteps" value="20">
<param name="fadeDelay" value="25">
<param name="backPic" value="pix/tcmid.gif">
<param name="backColor" value="c0d0d0">
<param name="backHighColor" value="ffffff">
<param name="fontColor" value="ffffff">
<param name="fontHighColor" value="a0c0c0">
<param name="font" value="Arial,11,1">
<param name="menuItems" value="
{Anarkia,http://www.galeon.com/la-web-de-kili/anarkia.htm,_self}
{Notizias,http://www.galeon.com/la-web-de-kili/noticias.htm,_self}
{E-mail,mailto:th3_fart@hotmail.com,_self}
{Libro,http://www.**********.com/cgi-bin/foro.cgi?ID=punky,_self}
{Links,C:\http://www.galeon.com/la-web-de-kili/Links.htm,_self}
">
</applet>

tx a lot

atillaselem

Jona
05-26-2003, 11:34 AM
Hmmm.. I guess I should keep my foot out of threads that have to do with Java... I had no idea that was possible... Of course, I don't know Java, so... But hey, I know Javascript! :p

khalidali63
05-26-2003, 11:54 AM
looks like your problem is in the applet,its configured to trap the right mouse click events,do you happen to have source for the applet?

atillaselem
05-27-2003, 02:16 AM
no..i haven't got the source of applet...
that's what my problem is...

no way to kill that window?...

tx..

atillaselem