"$('#img'+j).fadeIn("slow"); // fade in selected image (this is what
doesn't work, obviously)"
Did you notice that no where did you define or set variable "j" ?
On Dec 5, 8:15 pm, HXn <[EMAIL PROTECTED]> wrote:
> Hi, I'm brand new to jQuery. Here's what I'm trying to achieve:
>
> I have an
Hi,
try this: (untested)
$( document ).ready( function (){
$('#gallery ul li').click( function () {
// resetting other images
$( '#gallery ul li' )
.removeClass('selected')
.removeClass('thumb-hover')
.find('img').fadeOut('slow');
// show
2 matches
Mail list logo