I'm sure there is a simple answer to this, but I can't see it ;)
Here's the HTML:
<div id="kunden">
<ul class="kunden-logos">
<li><a href="A LINK" target="_blank"><img src="AN IMAGE" border="0" /></a></li>
<li><a href="ANOTHER LINK" target="_blank"><img src="ANOTHER IMAGE" border="0" /></a></li>
</ul>
</div>
And the jQuery:
$("#kunden").click(function() {
$("#kunden").animate({
height: "-=20%"
}, 1500 ).removeClass('open');
$("#kunden").css({
backgroundSize: "15%", backgroundImage: "url('AN IMAGE')"
});
$("#kunden .hide").css({
display: "none", margin: "0"
});
How do I get the link to open in a new window before firing the jQuery?
EDIT: I need to distinguish between more than one links in the #kunden div!
Thanks in advance for any help!