Click to See Complete Forum and Search --> : Image preloading prob...
ColdSteel
09-18-2003, 05:03 PM
I am having an image preloading problem(I presume..) with one of the sites that I am designing...below is the link if anyone wants to help... www.s-jproperties.com (http://www.s-jproperties.com) If you look at the source code you will notice that it's kind of wacky code...the preloading image code is from Dreamweaver...was considering taking it out and hand coding...but nonetheless it should work...any help would be greatly appreciated...
David Harrison
09-19-2003, 07:17 AM
I can't find your image Big_UN.gif, could this be the problem?
ColdSteel
09-22-2003, 02:34 PM
I'll look into what you said...I didn't respond 'cause I live in south western Virginia and haven't had power for three days....so I'm finally back on the computer(oh the joy...)...
ColdSteel
09-22-2003, 02:51 PM
ummm...I'm a bit confused by your question....when you say that you can't find "Big_Un.gif"...exactly where do you mean? If you mean on the actual site...well, that's part of the prob...but if in the code....where should it be??
David Harrison
09-22-2003, 03:01 PM
Well according to you page source, (in your JavaScript), there should be that image at this address:
http://www.s-jproperties.com/Big_UN.gif
ColdSteel
09-22-2003, 03:05 PM
Do you mean that there is a prob with my code or with the actual image on the host...(like it's not there...)...??
David Harrison
09-22-2003, 03:07 PM
It's just not there. You can't pre-load an image if it isn't there.
ColdSteel
09-22-2003, 03:12 PM
you mean it's not on the host by looking at the problem? I looked through with Ftp and it's there...maybe I got the name missspelled or something....is that what you're saying?....
ColdSteel
09-22-2003, 03:14 PM
Did you put your cursor over the x mark that shows that theirs a prob? that will really show you the problem..
David Harrison
09-22-2003, 03:27 PM
In the source I found this:
<A onMouseout="document.roll.src=imgBig.src"> <img usemap="#roll_map" src="Big_UN.gif" align="left" border="0" Name="roll"></A>
Which is accounting for the X since, surprise, surprise Big_UN.gif isn't there.
By the way, your event handler should be this:
onmouseout="...
Edit: You realise of course that when you give the names of img's and other stuff, that the names are case sensitive. That could be your main downfall.
ColdSteel
09-23-2003, 06:17 PM
Hey...now I know I'm dumb....I did a second check and found that the code had the capitalization wrong with some of the pics....after I wracked my brain for a while....thanks though anyways...you're mention of case-sensitive prompted me to check again...
David Harrison
09-24-2003, 03:33 PM
Happy to help. :)