Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > No image swap happens why?

Reply
Thread Tools

No image swap happens why?

 
 
Richard
Guest
Posts: n/a
 
      02-13-2005
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.


 
Reply With Quote
 
 
 
 
rf
Guest
Posts: n/a
 
      02-13-2005
"Richard" <Anonymous@127.001> wrote

> Please, no arguments about page validation. I've done that. The only thing
> missing is the alt tag.


The alt *attribute*


 
Reply With Quote
 
 
 
 
Randy Webb
Guest
Posts: n/a
 
      02-13-2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
next / previous image swap WITH larger image popup Clay Javascript 1 09-28-2006 09:07 PM
What happens when type conversion between signed and unsigned happens? NM C++ 6 09-20-2006 05:39 PM
What swap is called when using std::swap? Niels Dekker (no reply address) C++ 4 07-20-2006 08:44 PM
Allow multiple image swap onmouseover hadAnet ASP .Net 2 12-28-2005 06:56 PM
Mouse-over an image -> play video instead of swap image? Phillip Roncoroni HTML 6 04-06-2004 06:57 AM



Advertisments