Forums Register Login

To Invoke new HTML page containging an JApplet

+Pie Number of slices to send: Send
Hi Folks
I have a problem i need to invoke a JApplet in a new window on click of a perticular event in current applet. I also need to pass few arguments to this html page which are passed to the JApplet through the PARAM tag. Any idea java gurus
thanks and regards

------------------
zia raees
+Pie Number of slices to send: Send
Hi Zia,
Try this. this will open the new window in button click event.

<HTML>
<HEAD><TITLE></TITLE></HEAD>
<BODY>
<FORM NAME="frmWin1" ACTION="" METHOD="POST">
<INPUT TYPE="button" NAME="mesgmon" VALUE="">
</FORM>
<SCRIPT LANGUAGE="VBSCRIPT">
Sub mesgmon_OnClick()
Set oWin = Window.Open("http://apollo/senju/sjb/HCLMesgMon.asp", "NewWin","toolbar=no, menubar=no, width=800, height=600,resizable=yes")
End Sub
</SCRIPT>
</BODY>
</HTML>

regds,
Amaresh
Popeye has his spinach. I have this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 726 times.
Similar Threads
Problem while Invoking Applet's method from javascript
Screen Capture
Print the Applet Page using java script or Html
Applet ability to access HTML page!
JavaScript to JApplet communication
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 21:55:03.