Solved

Events of Applets

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

856 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