ATM Posted December 29, 2006 Share Posted December 29, 2006 Hey,Javascript isn't my favorite of scripting languages, most proberly because I'm not very good at it. Anyway, I was wondering if there is a way to only display the page once it is fully loaded, I have no idea how this can be done, but I reckon it is possible.Thanks, Link to comment Share on other sites More sharing options...
Webworldx Posted December 29, 2006 Share Posted December 29, 2006 Yup, just put:BODY { display: none; }and:<script type='text/javascript'>function show_page(){ document.body.style.display="block";}window.onload = show_page</script> Link to comment Share on other sites More sharing options...
ATM Posted December 30, 2006 Author Share Posted December 30, 2006 Thank you. Link to comment Share on other sites More sharing options...
PrateekSaxena Posted December 30, 2006 Share Posted December 30, 2006 Thanks, I have been trying to do this for my project too Link to comment Share on other sites More sharing options...
sureshonpc Posted January 5, 2007 Share Posted January 5, 2007 Thanks, I have been trying to do this for my project toothere is a way to only display the page once it is fully loaded, I have no idea how this can be done?please can u explain clearly(code) how to use it? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now