Jump to Navigation

Reply to comment

Anchor Text in Hidden Div - Show/Hide

Creating a block that can be remotely opened and closed is a relatively easy task, but what happens if you direct someone to a new page and are targeting an anchor on that page within the hidden element.  

For example: www.nimpkish.com/web-design#drupal

If the anchor #drupal was within a hidden page element, the user wouldn't see it. They would go to the page, but wouldn't see the anchor.  

I have created a simple tutorial to show you how to solve this.  

View the working demo and see the code

Reply