I want to realize the idea, as it is done here.

http://www.dns-shop.ru/catalog/i136562/monitor-dell-24-ultrasharp-u2412m.html#comment

There are tabs description, specifications, reviews .... It's easy to do this: create several divs, give display: block to one, display: none to others, and swap them according to the script. But after reloading the page in this way, the contribution will return to the original one. I noticed that the parameter gets into the address bar through #. What does it relate to and how to implement all this?

    2 answers 2

    Make through hash

      Can be done through: target css

       .show_when_active { display: none; } .show_when_active:target { display: block; } 

      http://jsfiddle.net/oceog/8gRHc/