Hide UnHide Divs using Display

May 24, 2007 – 2:20 am

Now that a simple layout using divs is created, its time to play hide and seek. See Example >>

Defined a variable “var = east” and assigned to “Div Id= east” using document.getElementById.”

The entire layout is split into multiple Divs like North, East, West and South.

And then the Plot thickens….

See another Example, where in, along with the Buttons, Text links are used to Hide UnHide Divs.
Other variation in this example is that according to the Hide/UnHide status, the corresponding button and text gets suitably hidden/shown.

  1. 2 Responses to “Hide UnHide Divs using Display”

  2. I was searching for something to do with divs and ur site was published as the second link by google search!!! Cool maaan…..

    By Priya on Jun 5, 2007

  3. Search Engine Optimization is almost built- in with blog tools like WordPress. With couple of minor tweaks and techniques, its easy to get into google’s top 10 search result. And there are folks who make a living outta this, and a good one too!

    By Muthu on Jun 6, 2007

Post a Comment