Use the standard onload event?

$(window).load(function(){alert( 'Load event') } );

As opposed to:

$(function(){ alert( 'DOM loaded' ) };

On 1/31/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote:
>
>
> Hello again,
>
> Any idea how i can trigger a function when every element on the page has
> been loaded (including external js, css and img files) ?
>
> Thanks
>
> alex.
>
>
> --
>  Ce message Envoi est certifié sans virus connu.
>  Analyse effectuée par AVG.
>  Version: 7.5.441 / Base de données virus: 268.17.17/661 - Date: 30/01/2007
> 23:30
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
>


-- 
Simon Proctor
Generally Unstable Rapid Programming Stylist

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to