***EDIT*** I have also just read your other post: 13068.
You’ve tried the ‘.not()’ function. No further ideas from me then! :-)
I believe the issue @BoringCode is trying to address is already dealt with by the ‘.live’ function. The only time that you would need to readdress ‘click’ functions is if there is an ‘iframe’ in the lightbox.
I now know what BoringCode was trying to say and I want to apologize for being a bit rude to him. When he said I needed to initialize the click in the AJAX call he really meant I needed to RE-initialize the click function so I misinterpreted what he was trying to say.
That being said, I thought I had been reinitializing it. I tried using .live() and .delegate() to re-establish the clicks as well and neither worked. For whatever reason I had to recall the entire function that sets up the gallery. I suppose there’s important code that needs the DOM already set before calling it so just replacing the clicking wasn’t enough.
after pondering a bit more, the issue seems related but the cause might be different. i’m using the Image Slider plugin from TheThe Fly.
here’s a screenshot of what’s happening. the slideshow window div is created and appears, but the loading bar stays persistent. and, as you can see, the thumbnails are displaying correctly, though there’s no click action.
if i remove the ajax functionality entirely, the slideshow works exactly as intended. so, it’s definitely a related issue, but not quite the same.
here’s the link to a test setup. currently, the only page that has the TheThe Fly Image Slider loaded into it is the “photographers” page. as you can see, if you hit http://awesomesnack.com/photographers/ directly, the slideshow works as expected. if you go the root url and click on the photographers link, you get the spins.