Thank you for your efforts Dave. I found the issue. Maybe it'll shed some light for someone else:
The Tab applet would fire the related javascript function when the applet loaded to make sure the default tab was selected. What I didn't know was that the function could return false to indicate the tab was not allowed to be changed at this point (kinda like a CheckForm function). So, my solution was to check the value of my bPageLoaded flag, if it was false, then I would exit the ChangeDiv function by returning True (so that the tab applet would display the tabs correctly). Otherwise, the page was loaded, and I could execute my logic safely. The part I was missing was to call the ChangeDiv function explitly on page load, to set the Divs properly. Bottom line was a missed step in my attempted fix to the issue, and a small lack of understanding how the java applet worked. (our java developer is going to fix this issue). Thanks for hearing me out. Shawn Grover -----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 3:42 PM To: CF-Talk Subject: RE: Need Help - Page too big > The OnLoad event IS being used, but does not call the > ChangeDiv function - but the ChangeDiv IS being called > by the applet. So, the inevitable suggestion to use > OnLoad isn't going to help any. Can you rewrite the ChangeDiv function so that it only does its stuff if the appropriate objects have been loaded - that is, if the page has been fully loaded? <script language="JavaScript"> var pageLoaded = false; function changeDiv() { if (pageLoaded) { ... } } </script> <body onload="pageLoaded=true;"> . Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

