【发布时间】:2011-02-25 14:46:23
【问题描述】:
【问题讨论】:
-
你想要什么?你的问题不清楚。用普通英语写。
【问题讨论】:
我想你正在寻找这个:
JavaScript:
$(document).ready(function() {
$(".post-box").bind('mouseenter', function() {
$(this).find(".readthis").fadeIn()
})
$(".post-box").bind('mouseleave', function() {
elem = $(this)
setTimeout(function() {
elem.find(".readthis").fadeOut()
}, 2000)
return false;
});
});
HTML:
<div id="post-wrapper">
<div class="post-box">
<a style="margin: -5px 0 0 -6px; display: none; position: absolute;" href="#">
<img src="http://www.filmsys.com/images/star-icon.gif"></a>
<img src="http://www.google.com/intl/en_ALL/images/srpr/logo1w.png" />
</div>
</div>
【讨论】: