[jQuery] Re: only one allowed at a time

2009-06-24 Thread Charlie
I was wondering if I didn't sound like an idiot saying "$this" isn't "this" anymore when it's html got changed, even though it was exactly same html as before. I confirmed it with a little test. Even though in below example the html output is identical to start, $this no longer works. Confirm

[jQuery] Re: only one allowed at a time

2009-06-24 Thread Charlie
while i was writing toggleClass portion below I slipped up $(".main_image").toggleClass...  should be  $(".gallery_image").toggleClass Charlie wrote: found the basis of problem but can't make it work in firebug. $(".main_image").live('click',function(){         (...)

[jQuery] Re: only one allowed at a time

2009-06-24 Thread Charlie
found the basis of problem but can't make it work in firebug. $(".main_image").live('click',function(){         (...)         var $target = $(this);                 $rows.each(function(){     (..)             $(this).find('.gallery_image').html('');         }

[jQuery] Re: only one allowed at a time

2009-06-24 Thread theprodigy
ok, here's the deal, Go to http://www.hypertextwebdesign.com/admin Click the submit button for placeholder login form Click Galleries in the menu on the left Click 4th Gallery in the list that appears (should be first item) You are now in Photo Listing page (lists photos for gallery "4th Gallery

[jQuery] Re: only one allowed at a time

2009-06-24 Thread Charlie
suggestion.post a link ( jsbin works great) or slimmed down version of the problem . It's really hard to read unformatted code with multi line links of long href's, style etc, trying to figure out which is a green box. far more likely to get feedback that way theprodigy wrote: I'm c