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.

Javascript IF Statement

View previous topic View next topic Go down

Javascript IF Statement

Post by !_NICK_! on February 1st 2014, 12:03 am

I'm needing help with the Javascript IF Statement. I really don't have any ideal about Javascript, but I do know HTML and CSS.

What I'm trying to do is, if 2 dates match on the page, I want it to display a specific HTML thing.

So if two dates on a page match, how do I make it display HTML that I have set for if the dates match that it will display this, and if they don't match, it won't display.

Yes I know, it's hard to explain, and I will not be giving out my website. Smile

!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

Re: Javascript IF Statement

Post by SLGray on February 1st 2014, 1:44 am

Could you post some examples (screenshots) of what you want?


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


SLGray
Administrator
Administrator

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

http://fmthemes.forumotion.com/

Back to top Go down

Re: Javascript IF Statement

Post by !_NICK_! on February 1st 2014, 1:56 am

Well, basically it involves sports. I have two dates at the bottom all fixed up of when the team will play again. I want to it to automatically say "Game Today!" somewhere when it's that day.

!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

Re: Javascript IF Statement

Post by !_NICK_! on February 2nd 2014, 2:09 am

Bump

!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

Re: Javascript IF Statement

Post by !_NICK_! on February 11th 2014, 7:27 am

Bump

!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

Re: Javascript IF Statement

Post by !_NICK_! on February 14th 2014, 8:00 pm

Just go ahead and close this. No one intends on helping. Forumotion has went down over the past year.

!_NICK_!
Active Poster

Male Posts : 1505
Reputation : 69
Language : English, HTML, and CSS
Location : In the middle of no return.

Back to top Go down

Re: Javascript IF Statement

Post by SLGray on February 15th 2014, 12:21 am

Locked as Requested


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


SLGray
Administrator
Administrator

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

http://fmthemes.forumotion.com/

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