tags:

views:

43

answers:

2

Anchor links that point to ID of a hidden element will cause browser to automatically show the element and scroll to it when clicked. I've seen some girl post a demo of this, but I cannot find it anymore. No JavaScript please.

+1  A: 

Use an Octothorpe in the href attribute of the anchor element.

<a href="#SomewhereElse">Click here</a>
<div id="SomewhereElse">When you click the browser should scroll here</div>
LeguRi
+1 for using the word "Octothorpe". :)
FrustratedWithFormsDesigner
Right back at you buddy! :D
LeguRi
Hidden, hidden div. After some research and tests I have concluded that Mozilla engine doesn't auto-show hidden divs when linked using anchors.
Andrew Kolesnikov
A: 

After some research and tests I have concluded that Mozilla engine doesn't auto-show hidden divs when linked using anchors.

Andrew Kolesnikov