Skip to main content

How to hide and unhide html sections/controls such as "div"

Posted by satyak on October 22, 2005 at 7:40 AM PDT

Lot of times I go back and relearn a bunch of stuff especially in the html/javascript world. Here is one such excursion into using the html div sections for your visual advantage.

The following weblog/article


How to hide and unhide html sections/controls such as "div"

has the following sections

  • setting up a div
  • showing the div
  • hiding the div
  • visibility tag
  • display tag
  • sample code
  • swapping between small and large images