Page 1 of 1
					
				CSS3 or Javascript?
				Posted: Sat Nov 23, 2013 6:59 pm
				by aduss
				Hello, I would like to ask about using CSS3.. Apparently the CSS3 offers a lot of functions which can replace some js functions, like creating dropdown menus and hover tabs and so on. On the other, not everybody has newest version of browser. I am afraid that there still might be people to whose some important things like menus won't be shown or something. So my question is: what should I use? Thanks in advance.
			 
			
					
				Re: CSS3 or Javascript?
				Posted: Sat Nov 23, 2013 7:53 pm
				by Jackolantern
				You're right that there are still far too many browsers who aren't supporting CSS3 correctly to use it for critical UI elements. So my advice is to use new CSS3 features for non-critical page elements that will degrade gracefully when they aren't supported. Perhaps just for some eye-candy. But use JS for critical UI elements, such as navigation menus, and things the user can't operate the page without.
			 
			
					
				Re: CSS3 or Javascript?
				Posted: Mon Nov 25, 2013 7:08 am
				by a_bertrand
				Actually, ideally, your page should degrade to a non-javascript page too, as maybe some people will have it disabled. Same for images etc.
Do I do it? It depends, if it's for my own game, no, if you don't have canvas and js support you simply can forget about my game. For my professional development, yes, most of my interfaces works without any JS.
			 
			
					
				Re: CSS3 or Javascript?
				Posted: Mon Nov 25, 2013 12:51 pm
				by Jackolantern
				True. But like you said, for my personal projects I don't worry about people who have JS disabled very much, since the site probably uses it at its core.
			 
			
					
				Re: CSS3 or Javascript?
				Posted: Mon Nov 25, 2013 1:20 pm
				by a_bertrand
				Then it's like my game => no JS then go away 

 
			
					
				Re: CSS3 or Javascript?
				Posted: Mon Nov 25, 2013 4:50 pm
				by hallsofvallhalla
				That is my life statement. No JS then go away 

 
			
					
				Re: CSS3 or Javascript?
				Posted: Tue Nov 26, 2013 12:16 am
				by Xaleph
				Muhahaha I could live by that rule..
			 
			
					
				Re: CSS3 or Javascript?
				Posted: Tue Nov 26, 2013 4:36 pm
				by Script47
				I don't see why people would disable it anyway?
			 
			
					
				Re: CSS3 or Javascript?
				Posted: Tue Nov 26, 2013 5:31 pm
				by a_bertrand
				Could be for security reasons or company policy. People even disabled cookies at some point.
			 
			
					
				Re: CSS3 or Javascript?
				Posted: Tue Nov 26, 2013 11:29 pm
				by Jackolantern
				I think the days of home users knowingly disabling Javascript are nearing an end. Look around at the web today. Even Fortune 500 sites are building JS into their core experiences. It just doesn't seem like you could get a lot done without it. 
Businesses, that is separate case. A lot of businesses know that their intranet sites will work without JS, and see disabling it company-wide as a way of crippling Facebook and other time sinks with an added security bonus.