Welcome to my website.
My goal: Show an image when a user hovers over the links.
I must be making some silly error, but I can't pinpoint it.
This is what I've attempted so far:
HTML
<ul class="nm">
<li><a href="#">Cork</a>
<div class="place-image">
<img src="http://classichits.ie/wp-content/uploads/2016/02/cork.png">
</div>
</li>
.......Remaining li's.....
</ul>
CSS
.place-image{
display:none;
}
div.place-image{
width:326px;
height:326px;
}
Javascript
$('.place-image').hover(
function() {
$('.place-image').fadeIn('slow');
},function() {
$('.place-image').fadeOut('slow');
}
);
I appreciate any assistance with this issue.