• 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

Rounded corners for annoucement

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

1 Rounded corners for annoucement
on Mon Sep 09, 2013 9:05 am
avatar

LolWesta

DailySupport Winner

DailySupport Winner
avatar
Posts : 74
Daily Points : 2608
Likes : 2
Warns : One warn
punBB
View user profile
Hello! I used this javascript , but i don't know how to personalize it :

Code:
$(document).ready(function() {
 $('.tcl strong:contains("Important")').each(function(){
$(this).css({ 'background-color': '#a3e4d8'});
});
});
$(document).ready(function() {
 $('.tcl strong:contains("Anunt")').each(function(){
$(this).css({ 'background-color': '#e4c3a3'});
});
});
$(document).ready(function() {
$('.tcl strong:contains("Anunt global")').each(function(){
$(this).css({ 'background-color': '#dca3e4'});
});
});
I want to add rounded cornes.


2 Re: Rounded corners for annoucement
on Mon Sep 09, 2013 9:12 am
avatar

Dishonored

Webmaster

Webmaster
avatar
Posts : 450
Daily Points : 735
Likes : 34
Warns : No warnings
punBB
View user profile
Hello.
Whaaat ? Waste of Javascript.
Code:

$(document).ready(function() {
$('.tcl strong:contains("Important")').addClass('dailyImportant');
$('.tcl strong:contains("Anunt")').addClass('dailyAnunt');
$('.tcl strong:contains("Anunt global")').addClass('dailyAnuntGlobal');
});
Then add to your CSS:
Code:

.dailyImportant{
CSS codes;
}
.dailyAnunt{
css codes;
}
.dailyAnuntGlobal{
css codes;
}
Very Happy





3 Re: Rounded corners for annoucement
on Mon Sep 09, 2013 9:23 am
avatar

LolWesta

DailySupport Winner

DailySupport Winner
avatar
Posts : 74
Daily Points : 2608
Likes : 2
Warns : One warn
punBB
View user profile
Woaa!
Thank you , dude! Solved!


4 Re: Rounded corners for annoucement
on Mon Sep 09, 2013 11:24 pm
avatar

mangaka

Support Moderator

Support Moderator
avatar
Posts : 12
Daily Points : 12
Likes : 0
Warns : No warnings
punBB
View user profile
Solved&Locked.


5 Re: Rounded corners for annoucement

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