Improve company productivity with a Business Account.Sign Up

x
?
Solved

Events of Applets

Posted on 2000-03-12
1
Medium Priority
?
304 Views
Last Modified: 2012-08-14
When I load an applet from the HTML page, I want to know the exact moment where the applet has fully been loaded.

I've tried using "onreadystatechange" event, which works on elements like a table.

Is there an event on an applet object that is raised when applet is fully loaded ?
0
Comment
Question by:KobiT
1 Comment
 
LVL 1

Accepted Solution

by:
dvd99 earned 150 total points
ID: 2610700
<SCRIPT>
 function isAppletReady(a) {
    return a.isActive();
    }
 </SCRIPT>

 <FORM>
 <INPUT TYPE=button
       VALUE="Check applet"
      onClick="if (!isAppletReady(document.applets[0])) alert("not ready");" >
 </FORM>

Here you go this will tell you if the applet is ready.
I recomend you change certian things to match the look of your site.

As for Applet events public void Start()
is called when the applets starts.
Hope this helps.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
There's never been a better time to become a computer scientist. Employment growth in the field is expected to reach 22% overall by 2020, and if you want to get in on the action, it’s a good idea to think about at least minoring in computer science …
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

586 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question