DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Behaviors - How to know when they are finished loading?

  1. #1
    Don Mercer Guest

    Behaviors - How to know when they are finished loading?


    Working on some very large pages (2000-3000 lines of script) that use several
    behavior files...Intermitently, pages do not load - but always load on second
    try. I believe it may be that behaviors are triggering before they have down
    loaded to the client. Anyone experience this instability using DHTML behaviors
    in IE5+. Need Solution!!!
    Don

  2. #2
    luke Guest

    Re: Behaviors - How to know when they are finished loading?


    "Don Mercer" <Don@DonMercer.com> wrote:
    >
    >Working on some very large pages (2000-3000 lines of script) that use several
    >behavior files...Intermitently, pages do not load - but always load on second
    >try. I believe it may be that behaviors are triggering before they have

    down
    >loaded to the client. Anyone experience this instability using DHTML behaviors
    >in IE5+. Need Solution!!!
    >Don


    I'm presuming that you're using the onLoad attribute on the BODY tag in
    the page. e.g.

    < BODY onLoad="JavaScript: startMyBehaviours()" >

    ?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center