01-11-2004, 12:44 AM
?? Images are not displaying until they are rolled over. They appear as "x"'s then once rolled over, they appear - on every page this happens!
I've only tested it in IE 5.2 for Mac. Does anyone know what causes this?
Images are not broken, just are not displaying right away.
Should I be using a preload script in the header? I don't know how to do this yet.
Any recommendations would be greatly appreciated!
01-11-2004, 12:54 AM
You should post your code. I would suspect that your original image source is incorrect. On your roll over action such as "OnMouseOver", you have the image.src change to your roll over image and "OnMouseOut", you set it to the correct image.
01-11-2004, 02:21 AM
Thanks for your response Oakendin ~
*UPDATED: Here is the link to the page.
[*Code Removed because of a recent hack to this site.*]
The normal states of the images are there, but can only be seen AFTER rolling over them. Then they are there, and will stay there. The rollover states are working correctly too. Just can't figure out why I can't see the images immediately after the page loads. I AM waiting for the page to load completely, (on cable, not long at all - except in Safari, which is separate problem).
When I use the same header in a .shtml file, I don't have this problem. It's only in the .cgi file (which is PHP coded).
01-11-2004, 11:42 PM
When I moved the directory out into the root, the images were loading correctly! Before, they were having trouble. But since the files are still in different directories themselves (for instance, the script is within a directory, and the images in another) I still had to call the images using the full http path from the script.
01-12-2004, 08:01 PM
If I don't have any subsites, I usually call from the root:
the "/" takes you to the root of your site so where ever you move your file in your directories, its still goes to the right folder.
01-12-2004, 08:48 PM
I'll give that a try... thanks
(now I feel dumb)
Sorry I had to remove the code, but the site was defaced last week and I don't know much about security, so haven't figured out what is safe and what is not, to post to a forum......