RSS

Blog

Graceful handling of anchors with jQuery

h37 Jan 2008 –  Comments (4)

Comments

Nice

[] kevin ~ 2 years, 7 months ago at 6:40 a.m.

I did something similar, and a commenter pointed out that you can do document.location.hash to get the name of the anchor (I was doing it much the same way you are here). Here's what I did: http://blog.rebeccamurphey.com/2007/12/24/anchor-based-url-navigation-jquery-plugin/

[] rdmey ~ 2 years, 7 months ago at 8:50 a.m.

Thanks rdmey !

[] h3 ~ 2 years, 7 months ago at 10:39 a.m.

Thanks man. This is awesome (:

[] royal ~ 1 month, 2 weeks ago at 7:26 p.m.

Copyrighted stuff .. u know.