HTML and jQuery anchoring

Posted by Wayne on Stack Overflow See other posts from Stack Overflow or by Wayne
Published on 2010-05-31T17:57:25Z Indexed on 2010/05/31 18:03 UTC
Read the original article Hit count: 146

Filed under:
|
|
|

Whenever the url contains the div id, it would obviously go down to the div when the URL has:

http://domain.com.faq.php#1

<div id="1">Bla bla bla</div>

But what I like is to have same feature of Stackoverflow, when you click on an answer in your messages, it will scroll down to the page and has that fadeOut effect on the answer.

How do I do this?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery