• 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]

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

Unforgettable

Moderator

Moderator
avatar
Posts : 36
Daily Points : 52
Likes : 2
Warns : No warnings
punBB
View user profile
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
2 Re: Add color to global a announcement sticky with Jquery!
on Sat Oct 05, 2013 6:19 am
avatar

LolWesta

DailySupport Winner

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


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

Dishonored

Webmaster

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





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

Trenmor

Support Moderator

Support Moderator
avatar
Posts : 146
Daily Points : 177
Likes : 9
Warns : No warnings
View user profile
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.


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

ddoesmc

Support Moderator

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




Ddoesmc~Part of the awesome support team Exclamation 

No Support via PM
6 Re: Add color to global a announcement sticky with Jquery!
on Fri Nov 08, 2013 2:28 pm
avatar

Unforgettable

Moderator

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




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

Jack Knows

New member
New member
avatar
Posts : 12
Daily Points : 10
Likes : 0
Warns : No warnings
punBB
View user profile
thanks for the code.


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

Trenmor

Support Moderator

Support Moderator
avatar
Posts : 146
Daily Points : 177
Likes : 9
Warns : No warnings
View user profile
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




Cool Part of your Daily Support Team! Cool 
No Support Given Via PM Exclamation 
9 Re: Add color to global a announcement sticky with Jquery!
on Thu Mar 27, 2014 1:38 pm
avatar

ddoesmc

Support Moderator

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




Ddoesmc~Part of the awesome support team Exclamation 

No Support via PM
10 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