"Maybe I'm just looking in the wrong direction. Any solutions?"
No, this is typical of Java applets, which is why most efficiency HTML programmers never use them. Zvonko's idea above is forcing a delay in the load of the applet -- Zvonko, I think you meant 1000 to 5000 (that is 1 to 5 seconds, javascript is in milliseconds, so 100 will be an insignificant delay). His will work.
"so that applet only loads when the user hits a button."
This is perfect for javascript --
<BUTTON .... other properties .... onClick="showLoading()" >
<SPAN id="showmsg"> </SPAN>
javascript --
function showLoading() {
[ plug in Zvonko's code here] with 2-3 second delay
then --
document.getElementById('s
setTimeout('clearMsg()', 5000);
}
That spins off loading of the applet, the message shows, the applet loads, and the message clears after 5 seconds.
Main Topics
Browse All Topics





by: ZvonkoPosted on 2008-08-12 at 15:08:26ID: 22217547
My proposal is to inject the applet html code firt after the page was loaded.
Something like this:
Select allOpen in new window