When you click on a link, close all open divs and open a specific one? [duplicate]

-3

I'm developing a website that will only be one page and will not have scrolling, I need when I click on a < a > close the open div and open the one I passed in the

asked by anonymous 25.07.2014 / 16:01