|
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.
|