If I did not able to tell the problem on my first post. i will try it again.
I need my page not to show until it is loaded.
Does someone knows how can I add loading gif display on page while the page is loading.
Thanks
Did you follow the steps in the tutorial correctly?
Could you pass on the link for your site?
I think I did..
No link.. Im testing on xampp
If you can verify the tutorial is working, perhaps something is conflicting on my install.
thanks
Hi,
If I can’t see what you’ve done, I can’t help you, could you copy your code onto pastebin and add the link here, so I can at least see what you did with the code.
here is the code just before and after opening body tag in header.php
http://pastebin.com/asDmYwKN
Thanks in advance
As I guessed, you missed step one of the tutorial, which is essential to trigger the gif loading.
Change:
<body <?php body_class(); ?>>
To:
<body onLoad="init()" <?php body_class(); ?>>
Good luck. Hope this fixes it. Without it, the Javascript will not execute when the page loads.
Wow, no errors in the console? You have provided no working code. Can’t really help more than that. Sorry.
Sorry for that.
I am trying to publish it online so that you can se the code I am working on.
Thanks for your help.
As sson as I get this replicated online I will give you the link.