External scripts block parallel downloading and delay HTML parsing. Loading them at the end of the body also allows images to be requested first.
window.onload triggers last in the sequence of events during page load - after images have loaded. You often don't need to wait that long, DOM ready is sufficient.
You are right about initializing the COUCH elements - that should optimally be performed on DOM ready.
window.onload triggers last in the sequence of events during page load - after images have loaded. You often don't need to wait that long, DOM ready is sufficient.
You are right about initializing the COUCH elements - that should optimally be performed on DOM ready.