Solved

Events of Applets

Posted on 2000-03-12
1
275 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
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 …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

911 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

19 Experts available now in Live!

Get 1:1 Help Now