I've been putting the finishing touches on my blog-to-be, but I've got stuck on this thing and I need help!
This is what I'm trying to create: When you click on a thumbnail on the bottom, the main image and the text are supposed to change. [IMG]http://i34.tinypic.com/i6xzxd.jpg[/IMG] Here's the site: http://zek.nma.sg/ (with the broken attempt at creating the above) This is the code I used: $(document).ready(function(){ $("h3").append('<em></em>') $(".thumbs a").click(function(){ var largePath = $(this).attr("href"); var largeAlt = $(this).attr("title"); $("#largeImg").attr({ src: largePath, alt: largeAlt }); $("#recentworks h3 em").html(" (" + largeAlt + ")"); return false; }); }); I was trying to follow the tutorial at http://www.webdesignerwall.com/tutor...for-designers/ (See No. 9) I've tried deactivating my Flickr+Highslide plugin, and I still couldn't get the jQuery to work. I checked with Firebug, and I'm pretty sure the jQuery loads into the browser. But I can't get any code working. How do I get the jQuery to work?