I have a page on a site that is mostly images. One big image cut up in pieces with a couple of cfwindows going in them.
I want to preload the page before it appears because it looks terrible when it is loading up. Is it possible to use a pre-loader for an html page to do this? Better yet is there an html preloader out there?
I am trying to use this code, but it is not cutting it.
_cf_loadingtexthtml="<div align='center'><img src='hig_progcircle_pending.gif'/>";
anyone have a better idea or even know if what I want to do is possible?
would cfflush help?
How would I use cfflush to act as a preloader? would it help in making the page load all at once?
I think I know what you mean.
You want all the images to load on the client before "showing" the client the page, so the user experience is pleasant.
It would all be JS, this page has an example along the lines of what I'm thinking.
Basically preload the images using image objects
using the onload event for the image object fire a function to set the .src value of your img tags to the image urls.
hosting.com | hostmysite.com