[jQuery] Re: Use jquery before the DOM is ready?

2009-04-04 Thread Derba
I tried the document.write method you told me to try, but using it anywhere causes the whole webpage to load up as a blank page. I have NO idea whats happening.

[jQuery] Re: Use jquery before the DOM is ready?

2009-04-04 Thread Derba
hen you set it to visible. > > -Hector > > > On Sat, Apr 4, 2009 at 4:15 PM, Derba 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.

[jQuery] Re: Use jquery before the DOM is ready?

2009-04-04 Thread Derba
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.

[jQuery] Re: Use jquery before the DOM is ready?

2009-04-04 Thread Derba
scratch that, including the document.write line in $(window).load (function() causes some error while leads to just a blank page in the browser. Using the first line of document.write('#mainimage{visibility:hidden}'); seems to work fine thought. On Apr 4, 8:03 pm, Derba wrote: >

[jQuery] Re: Use jquery before the DOM is ready?

2009-04-04 Thread Derba
thats works, thanks hector! Sorry about the previous confusion On Apr 4, 8:07 pm, Derba wrote: > scratch that, including the document.write line in $(window).load > (function()  causes some error while leads to just a blank page in the > browser. > > Using the first line of

[jQuery] Re: Use jquery before the DOM is ready?

2009-04-04 Thread Derba
mainimage").animate({opacity: "1"}, 1000); > > }); > > I hope this helps. > > -Hector > > On Sat, Apr 4, 2009 at 3:35 PM, Derba wrote: > > > I'm trying to have jquery set an image's opacity to 0. Then, while the > > image is fully l

[jQuery] Use jquery before the DOM is ready?

2009-04-04 Thread Derba
I'm trying to have jquery set an image's opacity to 0. Then, while the image is fully loaded, it will fade the image in. It seems to work fine, unless the images have already been viewed in the browser and are stored in cache. In this case, the image is already loaded by the time of $(document).r

[jQuery] Help with ajax contact form

2008-09-22 Thread Derba
I'm trying to use the ajax contact form i found from: http://capsizedesigns.com/blog/2008/04/an-ultra-slick-ajax-contact-form-with-jquery/ PHP: 1) { $to = "[EMAIL PROTECTED]"; $headers = 'From: '.$_POST['email'].''. "\r\n" . 'Reply-To: '.$_POST['email'].''