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.

How to edit the effect that Thanks button has?

View previous topic View next topic Go down

How to edit the effect that Thanks button has?

Post by Alexander Moore on July 29th 2012, 3:43 pm

For example, here we have a section that drops down and reads : THE TOPIC STARTER THANKS YOU (or whatever, working on memory here) with big stars and what not and makes me feel as if pressing the button just shot virtual confetti everywhere.

How edit my own effect from the button?

Alexander Moore
Forumember

Male Posts : 210
Reputation : 2
Language : English (USA), Mandarin Chinese || HTML, CSS, Limited JavaScript.
Location : Suzhou, China

Back to top Go down

Re: How to edit the effect that Thanks button has?

Post by Sir Chivas™ on July 29th 2012, 6:16 pm




Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6756
Reputation : 428
Language : English, Spanish, and French
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Re: How to edit the effect that Thanks button has?

Post by Alexander Moore on July 29th 2012, 7:02 pm

That's supposed to make the Thanks message like the one here, right?

I did nothing to the thanks function. Do I need to add some CSS to work with the Javascript or something?

Alexander Moore
Forumember

Male Posts : 210
Reputation : 2
Language : English (USA), Mandarin Chinese || HTML, CSS, Limited JavaScript.
Location : Suzhou, China

Back to top Go down

Re: How to edit the effect that Thanks button has?

Post by Sanket on July 29th 2012, 7:37 pm

@Alexander Moore wrote:That's supposed to make the Thanks message like the one here, right?

Yes, thats what the tutorial does.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Re: How to edit the effect that Thanks button has?

Post by Alexander Moore on July 30th 2012, 7:26 am

Well it's not working so far, and I followed that post to the letter. I have a Javascript page with that code inside set to load in the topics... Anything else I need to do?

Alexander Moore
Forumember

Male Posts : 210
Reputation : 2
Language : English (USA), Mandarin Chinese || HTML, CSS, Limited JavaScript.
Location : Suzhou, China

Back to top Go down

Re: How to edit the effect that Thanks button has?

Post by SLGray on July 30th 2012, 9:39 am

Did you do this?

Note: This will only work if you haven't changed the default thanked posts color. If you have, then change this:


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35622
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Re: How to edit the effect that Thanks button has?

Post by Alexander Moore on July 30th 2012, 10:05 am

Yes, I inserted the Javascript, set it to load in the topics, and there is no other thank codes to contradict it either.

The only other code I have set to load in the topics is the Javascript for colorizing users I specify, but this forum is standing proof that those two work together Razz

Alexander Moore
Forumember

Male Posts : 210
Reputation : 2
Language : English (USA), Mandarin Chinese || HTML, CSS, Limited JavaScript.
Location : Suzhou, China

Back to top Go down

Re: How to edit the effect that Thanks button has?

Post by SLGray on July 30th 2012, 10:09 am

So this - if (x[i].style.backgroundColor == "rgb(221, 235, 202)") - matches the color you have for thanked messages.
Administration Panel > Display > Colors & Pictures > Colors
Thanked Message:


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35622
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Re: How to edit the effect that Thanks button has?

Post by Alexander Moore on July 30th 2012, 10:30 am

Ah, that seemed to be the problem. Thank you.

*Thanked your message for helping, and to see this forums thanks message*

Yeah, how can I increase the height of the table the thanks message is in?

Edit : Nvm, just edited the Java and it worked.

Edit 2 : Last question on this subject - how can I make it so that the box the thanks message is in is attached to the message thanked and has rounded boundaries? Right now it seems to appear in it's own square box.

Alexander Moore
Forumember

Male Posts : 210
Reputation : 2
Language : English (USA), Mandarin Chinese || HTML, CSS, Limited JavaScript.
Location : Suzhou, China

Back to top Go down

View previous topic View next topic Back to top


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