Categories
Friends
Links
Tag Archives: Toggle Visibility
Toggle (Show/Hide) any element with ID on page
Use this javascript code as a function to toggles the visibility of any element on the page. Put the below code inside the <body> tags and call it passing the ID of the element. (Element can be anything with an id attribute). Javascript Code: <script type="text/javascript"> <!– function toggle_visibility(id) { [...]
How to show/hide div with HTML and CSS only – Toggle visibility with CSS