Trying to override/intercept a PhotoMosaic gallery link in WordPress using jQuery

Figured it out. I disabled links in the PhotoMosaic shortcode, then used $(window).load to detect clicks on the images and redirect accordingly. I then used CSS to change the cursor and add an opacity change on mouseover to imitate a link so the users know that they can click on the images.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)