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
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;
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
.
-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
[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
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();
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 }
try adding the javascript right after the body tag.
bodyscript type=text/javascript [jQuery stuff] /script
~Sean
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
some like that?
body
script language=JavaScript type=text/javascript
$(body).hide();
$(#loading).show();
$(document).ready(
function()
{
$(#loading).hide();
10 matches
Mail list logo