html - Anchor links that point to ID of a hidden element will cause browser to automatically show the element and scroll to it when clicked -


anchor links point id of hidden element cause browser automatically show element , scroll when clicked. i've seen girl post demo of this, cannot find anymore. no javascript please.

use octothorpe in href attribute of anchor element.

<a href="#somewhereelse">click here</a> <div id="somewhereelse">when click browser should scroll here</div> 

Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -