This code was written out of desperation when I could not use an embedded APPLET’s isActive() function to check if the APPLET was loaded. Instead, I waited for 500 milliseconds. Hopefully, there are better uses for this code.

<SCRIPT>

function OnLoadFunction(milliseconds_time){ setTimeout("delayedOnLoadFunction()", milliseconds_time);}

function delayedOnLoadFunction(){ /* Function body */}</SCRIPT>

<body onLoad="OnLoadFunction(500)">


Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Live
  • StumbleUpon
  • Tumblr
  • TwitThis
  • FriendFeed
  • Netvibes
  • Ping.fm
  • Posterous
  • Technorati
  • Tipd
  • Twitter
  • Yahoo! Buzz