The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Best Answer In Topics(?)

Page 3 of 3 Previous  1, 2, 3

View previous topic View next topic Go down

Solved Best Answer In Topics(?)

Post by J0k3R^ on April 21st 2014, 3:34 pm

First topic message reminder :

HelloHello
watch the title.
i would like to have in my forum something like that:




i would ask Mark himself but he is inactive so long time, so, here we go.


My forum is punbb. Any suggestions are welcome, thanks Smile


Last edited by J0k3R^ on April 23rd 2014, 8:48 pm; edited 1 time in total
avatar
J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down


Solved Re: Best Answer In Topics(?)

Post by Ange Tuteur on May 2nd 2014, 6:03 pm

Oh, is simple Wink

You don't have to use the thank color to color it, you can set your own color.
Code:
$(function() {
    var thankColor = '#99ff99';
    var text = 'Best Answer';
 
    var post = $('.post[style="background-color:' + thankColor.toLowerCase() + ';"]');
 
    post.children().css('background-color','');
    post.find('.postmain').children().css('background-color','');
    post.find('.posthead').css('background','#dfedd1');
    post.css('background-color','').find('.postbody').prepend('<div id="thanked">' + text + '</div>');
});

Also, you can change your thank bg color(display >> colors) to whatever you want so long as you change the color in the script as well. Very good

Ange Tuteur
Forumaster

Posts : 13072

http://fmdesign.forumotion.com

Back to top Go down

Solved Re: Best Answer In Topics(?)

Post by J0k3R^ on May 2nd 2014, 6:10 pm

awesome!I love youI love youVery good
thank u so much!
u like it? Very Happy




*Solved*
avatar
J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

Solved Re: Best Answer In Topics(?)

Post by Ange Tuteur on May 2nd 2014, 6:15 pm

You're welcome, and it looks great. thumright

Topic solved and archived
avatar
Ange Tuteur
Forumaster

Male Posts : 13072
Reputation : 2743
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Page 3 of 3 Previous  1, 2, 3

View previous topic View next topic Back to top


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