Hỏi: Ai giúp mình fix cho click vào avatar thì nó ra trang wall
Đáp: https://devs.forumvi.com/t249-hoi-dap-avatar-nguoi-gui-cuoi?showpost=p1890
- Code:
/* Avatar in index by giObanii punbb*/
$(document).ready(function () {
$('.statused .tcr').each(function (e) {
var l = this.getElementsByTagName('strong')[0].firstChild.href;
$(this).prepend('<span class="avatar-index" id="avatar-index' + e + '"></span>');
$('#avatar-index' + e).load(l + ' .module .main-content.clearfix.center:eq(0) img:eq(0)');
});
});
Đáp: https://devs.forumvi.com/t249-hoi-dap-avatar-nguoi-gui-cuoi?showpost=p1890