Perhaps the jQuery elementReady plugin will help?  I don't have
experience with it in Safari, however.
http://www.thunderguy.com/semicolon/2007/08/14/elementready-jquery-plugin/

Charles

On Jan 24, 5:48 pm, Thame <[EMAIL PROTECTED]> wrote:
> This is my first post to the list, so please excuse any amateurish
> mistakes.
>
> I'm having a small problem with Safari's (3 and earlier) onload event
> which appears to fire a bit early (<http://www.howtocreate.co.uk/
> safaribenchmarks.html>). A small portion of my script equalizes two
> columns' heights and I have it bound to $(window).load() so that the
> calculations are made after all the images (particularly, those
> lacking width and height attributes) have finished loading.
>
> Unfortunately, Safari tends to fire the onload event a bit early which
> means that some images finish loading after the calculations and
> adjustments are made which results in the columns becoming unequal
> again.
>
> I've tried different varieties of window.onload and $
> (window).bind('load', function() {}) without much luck, as well as
> wrapping the function call in an empty timeout (<http://sonspring.com/
> journal/jquery-iframe-sizing>).
>
> Does anyone know how to delay a function call until all images have
> finished loading?

Reply via email to