Thanks in advance
Last edited by CrystalSoul on April 4th 2014, 9:57 pm; edited 1 time in total
This is a Hitskin.com skin preview
Install the skin • Return to the skin page
#chatbox_members span strong { color:red !important; }
#chatbox_members a span strong { color:inherit !important; }
Ange Tuteur wrote:That's for all members, I don't know if that would be possible.
<li><span style="color:#FFF07D"><strong>@</strong></span> <a href="/u1" oncontextmenu="return showMenu(1,'Dovahkiin',1,2,1,2,1,event,'?archives');" onclick="return copy_user_name('Dovahkiin');" target="_blank"><span style="color:#FFF07D"><strong>Dovahkiin</strong></span></a></li>
a:/u1:{color: #FFF07D; text-decoration: none; }
a:/u1:active {color: #FFF07D; text-decoration: none; }
a:/u1:visited {color: #FFF07D; text-decoration: none; }
a:/u1:hover {color: #FFF07D; text-decoration: none; }
$(function() {
if (document.getElementById('frame_chatbox')) {
$('#frame_chatbox').before('<iframe id="frame_chatbox" width="100%" height="100%" style="border:none;" src="/chatbox/index.forum">').remove();
}
$('#frame_chatbox').load(function() {
setInterval(function() {
if ($('#frame_chatbox').contents().find('.chatMod').length) return;
var memberList = $('#frame_chatbox').contents().find('#chatbox_members li:has(a[href="/u1"])');
memberList.html(memberList.html().replace(/@/,'<span class="chatMod">@</span>'));
},1000);
});
});
.chatMod {
color:red !important;
text-shadow:0 0 6px red !important;
}
$(function() {
if (document.getElementById('frame_chatbox')) {
$('#frame_chatbox').before('<iframe id="frame_chatbox" width="100%" height="100%" style="border:none;" src="/chatbox/index.forum">').remove();
}
$('#frame_chatbox').load(function() {
setInterval(function() {
if ($('#frame_chatbox').contents().find('.chatMod').length) return;
var user = $('#frame_chatbox').contents().find('#chatbox .user:has(a[href="/u1"]), #chatbox_members li:has(a[href="/u1"])');
$(user).each(function() {
$(this).html($(this).html().replace(/@/,'<span class="chatMod">@</span>'));
});
},1000);
});
});