Hi, I need to run an applet by clicking a hyperlink.The following is the piece of code which i tried.It opens a new window but the applet does not run.
The above works on a button click. In case of an hyperlink : First, have an html (called first.html) like this: <html> <p><a href="applettohtml.html">Click here to start Applet</a> </p> Next,in applettohtml.html have the code like this: <html> <applet code = "applettohtml.class" width = 100 height = 100> </applet> </html> Now, run first.html and click the link to run the applet. Remember to place first.html,applettohtml.html,applettohtml.class in the same directory. Try it out and mail me back.
posted 19 years ago
Hi Arul, I did it but it is still saying that class not found when the html is run in the browser.I appreciate your willingness to get back to me. Thanks Sri Narra.
He's my best friend. Not yours. Mine. You can have this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!