/    Sign up×
Community /Pin to ProfileBookmark

Image preloading prob…

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… [URL=http://www.s-jproperties.com]www.s-jproperties.com[/URL] 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…

to post a comment
JavaScript

11 Comments(s)

Copy linkTweet thisAlerts:
@David_HarrisonSep 19.2003 — I can't find your image Big_UN.gif, could this be the problem?
Copy linkTweet thisAlerts:
@ColdSteelauthorSep 22.2003 — 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...)...
Copy linkTweet thisAlerts:
@ColdSteelauthorSep 22.2003 — 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??
Copy linkTweet thisAlerts:
@David_HarrisonSep 22.2003 — 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
Copy linkTweet thisAlerts:
@ColdSteelauthorSep 22.2003 — Do you mean that there is a prob with my code or with the actual image on the host...(like it's not there...)...??
Copy linkTweet thisAlerts:
@David_HarrisonSep 22.2003 — It's just not there. You can't pre-load an image if it isn't there.
Copy linkTweet thisAlerts:
@ColdSteelauthorSep 22.2003 — 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?....
Copy linkTweet thisAlerts:
@ColdSteelauthorSep 22.2003 — Did you put your cursor over the x mark that shows that theirs a prob? that will really show you the problem..
Copy linkTweet thisAlerts:
@David_HarrisonSep 22.2003 — 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.
Copy linkTweet thisAlerts:
@ColdSteelauthorSep 23.2003 — 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...
Copy linkTweet thisAlerts:
@David_HarrisonSep 24.2003 — Happy to help. ?
×

Success!

Help @ColdSteel spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...