Solved

Events of Applets

Posted on 2000-03-12
1
273 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 50 total points
Comment Utility
<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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now