I was playing with this code, the window load  code should help:
var blackout = $('<div style="width: 100%; height: 100%; position: absolute;
top: 0px; left: 0px; z-index: 100; background-color: black"></div>')
   .prependTo($('html'));
$(function(){
   blackout.css('background-color','gray').debug()
});
$(window).load(function() {
     blackout.fadeOut("slow",function(){blackout.remove()}).debug()
});


On 6/5/07, Daemach <[EMAIL PROTECTED]> wrote:


I'm using body onload to reset a menu, but the onload event seems to
be fired before the images are actually displayed.  This causes the
menu to be in the wrong position on the initial load, though it works
correctly once the images are cached.

Is there another event that gets fired when absolutely everything is
ready?  I don't know of one...




--
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ

Reply via email to