title: JavaScript Events - During page is loading or before?
body: <p>I'm using an event which is called after the complete site is loaded. So I use <code>onload()</code> for that. </p>
  
  <p>Is there any way to call my function before or during the site is loaded?</p>
  
  <p>I would be very grateful!
  Thank You!</p>