/    Sign up×
Community /Pin to ProfileBookmark

PLEASE HELP ME! :( – Having trouble loading pics here

Hello all,
I have a bit of a problem.
The web site I’m starting
([url]www.indianasc.org/~district2/[/url])
Seems to be having problems loading all of the pictures for my javascript hover buttons. As soon as the page pops up, they are not there, but when your mouse gos over them, they are. Plus, the “highlight” buttons are the ones that pop up first, not the regular unclicked blue buttons.
Please help me out!

Thanks,
Jon
[email][email protected][/email]

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@jdaviaJan 21.2003 — Use the complete address to where the files are, like this:

<IMG src="http://www.indianasc.org/~district2/buttons/home.gif" id="home"

Not this:

<IMG src="../buttons/home.gif" id="home"

And it will work.
Copy linkTweet thisAlerts:
@Jon15NauthorJan 21.2003 — Thank you, I appreciate it.
Copy linkTweet thisAlerts:
@spufiJan 23.2003 — I have feeling that the following code would have worked. I think he was pointing to the wrong directory and that's why it wasn't being found. I'm just saying this because I use relative links all over the place on my site. The only time I use absolute links is when I'm pointing to something outside of my website. This also helps when you need to move your site from one URL to another.

<IMG src="buttons/home.gif" id="home" alt="home">
Copy linkTweet thisAlerts:
@jdaviaJan 23.2003 — var imagePath = "http://www.indianasc.org/~district2/buttons/"

/*

** imagePath is the full URL path to the stored images.[/QUOTE]

His code says the full path to the stored images. Otherwise he could have coded it with a relative path. Then a relative path would have opened them.
×

Success!

Help @Jon15N 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.29,
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,
)...