nó có 1 số ưu và nhược điểm mà mình nói ra thì dài lắm
thui bạn nào dùng thì dùng khác biết ưu nhược của nó hí hí
ở đây mình chỉ làm thành viên đang online thui
sợ làm cả cái đã online 24h và sinh nhật thì sợ nó lag
đầu tiên vào index body tìm
[hide]
- Code:
-
{LOGGED_IN_USER_LIST}
thay thành
- Code:
-
<div class="avatarondav"> {LOGGED_IN_USER_LIST} </div>
<style>
.avatarondav .davx img {
border: 1px solid #DDD;
height: 25px;
margin: 0 5px;
padding: 1px;
width: 25px;
}
.avatarondav .davx:hover img {
cursor: pointer;
position: absolute;
width: 150px;
height: 150px;
background-color: white;
}
</style>
<script type="text/javascript">
$(document).on('ready',function(){$('.avatarondav
a').each(function(){var
rondav=$(this).attr('href');$(this).prepend('<a href="'+rondav+'"
class="davx"><img
src="http://www.hotrofm.com/users/1416/39/08/64/avatars/gallery/123_bm10.jpg"
/></a>');$(this).children('a').load(rondav+'
div.main-content.clearfix.center img:eq(0)')})});
</script>
Nội dung đã bị ẩn đi rồi, phải trả lời bài viết mới thấy được
xong