HI, I'm trying to do something with jQuery, and each time I think I have it right, it all falls apart. Yep, it's quite obvious me and javascript aren't the best buddies... maybe someone can give me a hand?
In a web page, I would like to display an image, let's call it imgFull (that would be it's class). When the page is loaded with a javascript-capable UA, this image is immediately hidden (as soon as possible to avoid strange visual effect for slow connections), and another one is displayed at its place, let's call it imgThumb When either of these two images are clicked (they could be inside a <a> tag), the one displayed is hidden (I'll add some effect), and after that the other one (hidden) is displayed. Basically it's a thumbnail/full image toggle on click, that would degrade gracefully without javascript or inside XML (like Atom). It's über simple, and yet I'm banging my head at it... :-( Please please please, anyone got an idea ?