I'm sorry, I have another question! I'm trying to show an overlay when the mouse is hovered over a link, but I want the overlay to disappear when the mouse is removed. Sort of like the tooltip but I'm using the tabs function for it because I found it difficult to make the overlay appear where I wanted. It works great but I don't know how to tell it to hide the overlay when the mouse is moved away from the link.
$(function() {
$("ul.readmore").tabs("div.overlay > div",{current: 'active',event: "mouseover",effect: "fade", fadeInSpeed: "slow"});
});
<ul class="readmore">
read more...
<div class="overlay">
<div></div>
<div><img src="i/overlay.png"></div>
</div>
I threw an empty div in there because I don't want the overlay shown when the page loads (probably not the best way to do that huh?)
Thanks for all your help!
$(function() {
$("ul.readmore").tabs("div.overlay > div",{current: 'active',event: "mouseover",effect: "fade", fadeInSpeed: "slow"});
});
<ul class="readmore">
<div class="overlay">
<div></div>
<div><img src="i/overlay.png"></div>
</div>
I threw an empty div in there because I don't want the overlay shown when the page loads (probably not the best way to do that huh?)
Thanks for all your help!