In this tutorial I will show you guys how to change color of the text for Global A - Announcement and Sticky with jQuery.
Administration Panel => Modules => HTML & JAVASCRIPT => Javascript codes management => Create a new javascript ---> name it whatever you want and mark it In all the pages.
PunBB Forums!:
Administration Panel => Modules => HTML & JAVASCRIPT => Javascript codes management => Create a new javascript ---> name it whatever you want and mark it In all the pages.
PunBB Forums!:
- Code:
$(document).ready(function() {
$('.tcl strong:contains("Sticky")').each(function(){
$(this).css({ 'color': 'blue'});
});
});
$(document).ready(function() {
$('.tcl strong:contains("Announcement")').each(function(){
$(this).css({ 'color': 'red'});
});
});
$(document).ready(function() {
$('.tcl strong:contains("Global announcement")').each(function(){
$(this).css({ 'color': 'green'});
});
});
Last edited by Unforgettable on Sat Oct 05, 2013 8:06 am; edited 1 time in total