The page in question is located at http://www.sandbarmedia.com/clients/va/gallery/. Basically, I'm trying to use jQuery to intercept a click on one of the photos in the mosaic so that it jumps to the corresponding picture in the gallery below. The bottom gallery will be hidden once all of this works, and the end effect should be that clicking on a mosaic photo jumps the user into the appropriate place in the lightbox photostream.
I currently have some code that works with a text link (the "test" link below the mosaic), but when I try to apply the code to one of the mosaic photos, it doesn't work. I've inserted this little bit below the rest of the content in the page:
The intent was to capture clicks on links that contain the filename of the first image in the mosaic and to activate a click on an image in the gallery. I assume that the shortcode is loading after the jQuery somehow, but I'm not sure if that's the problem, and if it is how I'd fix it.
I'd really like to be able to keep this code inside of the Wordpress page editor so that it would be user-updateable without having to dig around in a file structure, but I understand if that's not possible. Thanks in advance!