Actually, it might be better to just start off with 0 opacity and not mess
with the visibility property at all:
document.write('<style type="text/css">#mainimage{opacity:0}</style>');
$(window).load(function() {
//when everything is finally loaded, fade image in
    $("#mainimage").animate({opacity: "1"}, 1000);
});

-Hector


On Sat, Apr 4, 2009 at 4:18 PM, Hector Virgen <djvir...@gmail.com> wrote:

> Try setting the opacity to 0 when you set it to visible.
> -Hector
>
>
> On Sat, Apr 4, 2009 at 4:15 PM, Derba <ryancolantu...@gmail.com> wrote:
>
>>
>> the css visible seems to make it visible before it has a chance to
>> fade in, but I will tinker with it some to see if I can get it to work.
>
>
>

Reply via email to