Is it possible? ive seen it done with images, but can you do it with a whole page? If you can please post how to do it below.
Thanks,
Tom
Printable View
Is it possible? ive seen it done with images, but can you do it with a whole page? If you can please post how to do it below.
Thanks,
Tom
what do you mean it loads the whole page before it shows it? if so then i would like to know too :)
1. rename your sites homepage to home.php
2. make index.php a redirect page page
3. insert a hidden div into the redirection page which contains your sites code
4. make it redirect to your site in say 5 seconds?
Its an idea! :P
Um, you can do it with an AJAX updater in scriptaculous.
Just include the scriptaculous files, then add this to your head sect.
Then use the javascript:load('URL to page'); as your links to a page.HTML Code:<script type="text/javascript">
<!--
function load(url)
{
document.getElementById("Div ID to load into").innerHTML = "Loading...";
new Ajax.Updater('Div ID to load into',url);
}
//-->
</script>
So not a preloader, but more of an instant loader? EG, when you visit the site for the first time it would take a tad longer to load the other files, then when you navigate them they pop straight up?
If that's what you mean I'll dig deep and hopefully produce something.