I would like to know how to do this. I wanna put a text for the "Topic Author" on members post to show only for topic starter on the right side.
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
#tauthor{}
$(function(){
ttextuwant = "Topic Starter";
if($('.pagination:last strong:first').text()==="1"){
$('.post').eq(0).find('.inner').prepend(' <span id="tauthor">'+ ttextuwant +'<span> ');
};
});
$(function() {
$('.post').each(function() { if ($(this).find('.postprofile dt').text() == $('.post:first .postprofile dt').text()) $(this).addClass('authorPost').append('<div class="authorTag">Topic Starter</div>') });
});
.post.authorPost { position:relative }
.post.authorPost .authorTag {
color:#666;
font-size:12px;
background:#EEE;
border:1px solid #CCC;
border-bottom:none;
border-radius:3px 3px 0 0;
padding:3px;
position:absolute;
top:50%;
right:-33px;
transform:rotate(270deg);
}