[jQuery] Re: Loading before teh DOM is ready

2007-05-25 Thread Sam Collett
How about: html head titleMy page/title script type=text/javascript document.write(style type='text/css'#content { display: none } #loading { display: block } \/style); $( function() { $(#loading).hide(); $(#content).show(); }); /script /head body div id=loadingLoading.../div div id=content

[jQuery] Re: Loading before teh DOM is ready

2007-05-25 Thread Jean Nascimento
Thankss! I used this for test =D html head titleMy page/title style type='text/css' #content { display: none } #loading { background-color: #66; color: #FF; display: block; font-family: Verdana, Helvetica, sans-serif;

[jQuery] Re: Loading before teh DOM is ready

2007-05-25 Thread Alexandre Plennevaux
PROTECTED] On Behalf Of Jean Nascimento Sent: vendredi 25 mai 2007 8:20 To: jquery-en@googlegroups.com Subject: [jQuery] Re: Loading before teh DOM is ready Thankss! I used this for test =D html head titleMy page/title style type='text/css' #content { display: none } #loading

[jQuery] Re: Loading before teh DOM is ready

2007-05-25 Thread Jean Nascimento
. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jean Nascimento Sent: vendredi 25 mai 2007 8:20 To: jquery-en@googlegroups.com Subject: [jQuery] Re: Loading before teh DOM is ready Thankss! I used this for test =D html head titleMy page

[jQuery] Re: Loading before teh DOM is ready

2007-05-25 Thread Jean Nascimento
[mailto:[EMAIL PROTECTED] On Behalf Of Jean Nascimento Sent: vendredi 25 mai 2007 8:20 To: jquery-en@googlegroups.com Subject: [jQuery] Re: Loading before teh DOM is ready Thankss! I used this for test =D html head titleMy page/title style type='text/css' #content

[jQuery] Re: Loading before teh DOM is ready

2007-05-25 Thread Ⓙⓐⓚⓔ
how 'bout html head titleMy page/title style type='text/css' #content { display: block } #loading { display: none } /style script type=text/javascript document.write(style type='text/css'#content { display: none } #loading { display: block } \/style); $( function() { $(#loading).hide();

[jQuery] Re: Loading before teh DOM is ready

2007-05-25 Thread Jean Nascimento
Owww pretty good! Thanks. Now I begin to undertand the things what can we do for the poor people who disable js huauhahuahuhuahua On 5/25/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote: how 'bout html head titleMy page/title style type='text/css' #content { display: block } #loading { display: none }

[jQuery] Re: Loading before teh DOM is ready

2007-05-24 Thread Sean Catchpole
try adding the javascript right after the body tag. bodyscript type=text/javascript [jQuery stuff] /script ~Sean

[jQuery] Re: Loading before teh DOM is ready

2007-05-24 Thread Sean Catchpole
i´m creating the #loading by PHP only hides the body if #loading is inside the body tag it will be hidden too when you say $(body).hide(); this works when nothing is submit, but when submit the form dont show I'm really not sure what you're talking about unless I see an example. ~Sean

[jQuery] Re: Loading before teh DOM is ready

2007-05-24 Thread Jean Nascimento
some like that? body script language=JavaScript type=text/javascript $(body).hide(); $(#loading).show(); $(document).ready( function() { $(#loading).hide();