View Single Post
Old 10-04-2012, 03:31 AM   PM User | #2
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,452
Thanks: 0
Thanked 498 Times in 490 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
Are you asking about Java or about JavaScript - they are two completely different things.

With web pages the content is defined using HTML, how it looks and whether it is visible or not is defined with CSS and the behaviour of the page is defined using JavaScript.

Note that not everyone has JavaScript and so anything that starts out hidden may remain hidden. Usually you are better off to start with things visible and use JavaScript to update the CSS to hide whatever doesn't need to be visible for those with JavaScript available.
__________________
Stephen
Learn Modern JavaScript - http://javascriptexample.net/
Helping others to solve their computer problem at http://www.felgall.com/
felgall is offline   Reply With Quote
Users who have thanked felgall for this post:
spacecadet11 (10-04-2012)