Website Design Blog - BlueBolt.net

Toggle Element Visibility with JavaScript

Showing and hiding elements on a web page is a popular technique, and is used on thousands of websites, in one form or another. While this could be avoided simply by the addition of new website pages, the advantage of the show/hide javascript technique is that it helps to minimise web browsing interruptions by eliminating the need to leave and load a new page.

Common uses of the show/hide technique on websites include tree hierarchy systems, which group large numbers of related items such as link structures and directory contents together to help keep them manageable. The technique is also frequently used to show extra content or provide additional information on demand to preserve valuable screen real-estate.

For example, most ‘drop down’ website menus do this, and also pretty much any time you are given the option to click to reveal detailed or extended information about something on the page.

Read More …

Author: admin

Latest Articles

11/11/10
Toggle Element Visibility with JavaScript
Showing and hiding elements on a web page is a popular technique, and is...

23/10/10
Disable (X)HTML Form Input Autocomplete
The autocomplete feature common to all of today’s major browsers is...

13/10/10
Essential JavaScript Functions and Tips
There have been countless occasions I have expected a JavaScript function...

Search Articles

  • Calendar

November 2010
M T W T F S S
« Oct    
1234567
891011121314
15161718192021
22232425262728
2930  
 
BlueBolt Website Design - Preload Menu Image