By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,317 Members | 1,344 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,317 IT Pros & Developers. It's quick & easy.

No image swap happens why?

P: n/a
www.somestuff.batcave.net/test1.html

I have the major part of this monster worked out.
Changing categories is fine.
Only thing is, I get nothing when I click on a thumbnail.
I know the value is being passed properly because I've used "alert" blocks
to tell me that.
Until I get something better to use for the swapping, I'm just using the
bare basic routine.
Please, no arguments about page validation. I've done that. The only thing
missing is the alt tag.
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
rf
"Richard" <An*******@127.001> wrote
Please, no arguments about page validation. I've done that. The only thing
missing is the alt tag.


The alt *attribute*
Jul 23 '05 #2

P: n/a
Richard wrote:
www.somestuff.batcave.net/test1.html

I have the major part of this monster worked out.
Changing categories is fine.
Actually, it's not. When I click a category to expand it, and then click
another category to expand it, my instincts are to go down with the
mouse to click on a sub category. But your script makes the first one
collapse thereby making me stop and go up to get where I wanted to go.
Only thing is, I get nothing when I click on a thumbnail.
Based on your code, thats not surprising.
I know the value is being passed properly because I've used "alert" blocks
to tell me that.
There are no alerts in the source I see.
Until I get something better to use for the swapping, I'm just using the
bare basic routine.
You have no concept of the "bare basic routine". I gave you a *much*
better "bare basic routine" in the last thread you were asking about
image swaps in where you were just "positive" that switch/case was the
best construct when it wasn't then and it still isn't now.

If you want planes, trains and xx to call a different function then just
call the appropriate function to start with.

Then, you use the simple image swapping routine I gave you.
Please, no arguments about page validation. I've done that. The only thing
missing is the alt tag.


That may be all that's missing in your HTML code but it is definitely
not all you are missing.....
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.