I have a gallery on my site and i'm using a dhtml script to show them when an image is clicked... the problem is that when you go to the gallery and press an image, before every image in the gallery is loaded, then it doesn't show it with the dhtml script, but instead on a white page like normally..
So how can I make sure that the images are before the user clicks on an image..?
Okay I have now uploaded the website, but it seems to be xtremly slow to load, just the index page.. It has about 750kb of images to load, and I was just wondering if that is a lot!?
To me it seems to be little but idk.. Also the gallery with the images takes so much time to load, but theres also about 19mb of images.. they are scaled down to 150x150 and when clicked they expand to their normal size with the special image viewer.
Even when I have been to the site (index) and I close it and open the site again (just the index) it still takes some time to load it all up, even though it should have saved the images on the computer?
The rollover images in the menu is very slow too, even after they are loaded, it still takes about 2 sec's before it switches to the other image when moved over.
I need to know how to speed things up a lot.. I guess the image gallery always will be slow, but i think it could be faster somehow..
If the answer to this problem still is to use some of the codes in the posts above, then please tell which code would be the most prefered.
- "Jeg tror det er nemmere, hvis du kunne forklare det på dansk i en PM Kaneda, hvis du har tid".
EDIT: I've just tested with Firefox and Opera, and it loads up pretty much faster than it did with IE, but in firefox and opera it changes the bg color the site on "laying" on, and bit strange things between the bottom frame and middle frame idk.. maybe I can fix that...
But I don't think it should be required to have enything else than IE to view the site?!