• Daily Support was created for Forumotion support, troubleshooting your problems with your computer, with your network or with your life. We offer graphic design services like graphic creations, good tutorials and many others! I hope you like this theme, i worked a lot to make it.
    Look at our new code! This is a nice loading screen for all versions Very Happy Read more
    Look at our new code! This is a nice Windows 8 Styled navigation bar! Read more
    Look at our new code! This is a code for partner, similary to our partner script! You have to choose your forum version, from the next list...Read more.
Daily Support ™

Tutorials, protection, discussions, graphic design, forumotion help, codes, gaming, roleplay, counter-strike 1.6, metin2, mt2, cs 1.6, cs 1.6 codes, mt2 codes, powerfull forum


You are not connected. Please login or register

Add color to global a announcement sticky with Jquery!

View previous topic View next topic Go down  Message [Page 1 of 1]

1Add color to global a announcement sticky with Jquery! Empty Add color to global a announcement sticky with Jquery!
Tue Oct 01, 2013 6:23 pm
Unforgettable

Unforgettable

Moderator

Moderator
Unforgettable
Unforgettable
Posts : 36
Daily Points : 52
Likes : 2
Warns : No warnings
punBB
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!:
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'});
});
});
Written by, Mattie, CSS Help.




Last edited by Unforgettable on Sat Oct 05, 2013 8:06 am; edited 1 time in total
2Add color to global a announcement sticky with Jquery! Empty Re: Add color to global a announcement sticky with Jquery!
Sat Oct 05, 2013 6:19 am
LolWesta

LolWesta

DailySupport Winner

DailySupport Winner
LolWesta
LolWesta
Posts : 74
Daily Points : 2608
Likes : 2
Warns : One warn
punBB
Hello.
This should be on Coding section. Very Happy


3Add color to global a announcement sticky with Jquery! Empty Re: Add color to global a announcement sticky with Jquery!
Mon Oct 07, 2013 9:12 am
Dishonored

Dishonored

Webmaster

Webmaster
Dishonored
Dishonored
Posts : 450
Daily Points : 735
Likes : 34
Warns : No warnings
punBB
Well, this is not a problem. This is like a tutorial Very Happy


4Add color to global a announcement sticky with Jquery! Empty Re: Add color to global a announcement sticky with Jquery!
Sun Oct 13, 2013 9:48 am
Trenmor

Trenmor

Support Moderator

Support Moderator
Trenmor
Trenmor
Posts : 146
Daily Points : 177
Likes : 9
Warns : No warnings
Lolwesta,


If you feel the need for this to be moved, please use the Forum Help.

Here: [You must be registered and logged in to see this link.]

Please remember to read the first Post, as it will guide you to making a request.


5Add color to global a announcement sticky with Jquery! Empty Re: Add color to global a announcement sticky with Jquery!
Fri Nov 08, 2013 4:27 am
ddoesmc

ddoesmc

Support Moderator

Support Moderator
ddoesmc
ddoesmc
Posts : 88
Daily Points : 98
Likes : 2
Warns : No warnings
phpBB3
Thank you for the tip Unforgettable!


6Add color to global a announcement sticky with Jquery! Empty Re: Add color to global a announcement sticky with Jquery!
Fri Nov 08, 2013 2:28 pm
Unforgettable

Unforgettable

Moderator

Moderator
Unforgettable
Unforgettable
Posts : 36
Daily Points : 52
Likes : 2
Warns : No warnings
punBB
Anytime! I'm glad I helped!


7Add color to global a announcement sticky with Jquery! Empty Re: Add color to global a announcement sticky with Jquery!
Sun Dec 15, 2013 11:38 am
Jack Knows

Jack Knows

New member
New member
Jack Knows
Jack Knows
Posts : 12
Daily Points : 10
Likes : 0
Warns : No warnings
punBB
thanks for the code.


8Add color to global a announcement sticky with Jquery! Empty Re: Add color to global a announcement sticky with Jquery!
Wed Mar 12, 2014 10:26 am
Trenmor

Trenmor

Support Moderator

Support Moderator
Trenmor
Trenmor
Posts : 146
Daily Points : 177
Likes : 9
Warns : No warnings
Evil or Very Mad

Jack Knows - I apreciate you love to comment on his acheivement (Not in a sarcastic way :]) But you can't post with "Nice" Or "Thanks" As it's classed as spam. Your not the only one who does it. I am letting all users off with a warning of a warning bar!

Thanks for the topic though, very useful!

Topic Locked
Jack's Post Removed

~Trenmor


9Add color to global a announcement sticky with Jquery! Empty Re: Add color to global a announcement sticky with Jquery!
Thu Mar 27, 2014 1:38 pm
ddoesmc

ddoesmc

Support Moderator

Support Moderator
ddoesmc
ddoesmc
Posts : 88
Daily Points : 98
Likes : 2
Warns : No warnings
phpBB3
Please do not spam! You have received a warning! /post removed and garbaged


10Add color to global a announcement sticky with Jquery! Empty Re: Add color to global a announcement sticky with Jquery!

Sponsored content

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum