ngo maichi

Greenhorn
+ Follow
since Apr 25, 2016
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ngo maichi

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:

<li class="hex">
<a class="hexIn" href="#">
<img src="assets/fitness.jpg" alt="" />
<h1>Fitness</h1>
<p>Sample text</p>
</a>
</li>
So the question is, how do I replace 'href' with that 'open window on click' functionality? Thanks in advance.