I'd like to make the images on my site work as links, however, not external links, rather for them to simply open a new window, without having to load the page. If I'm not mistaken, I should be able to do this using AJAX right? This is an example of a coded image:
<a class="hexIn" href="#">
<img src="assets/fitness.jpg" alt="" />
So the question is, how do I replace 'href' with that 'open window on click' functionality? Thanks in advance.