I think $(window.location.hash) is what you're after here. (https://developer.mozilla.org/en/DOM/window.location)
-dan On Feb 24, 8:11 am, brian <bally.z...@gmail.com> wrote: > Doesn't this work? > > $('#' + location.target).css('background', > 'url(fade-yellow.gif)').css('font-weight', 'bold'); > > On Tue, Feb 24, 2009 at 9:42 AM, dccrowley <dccrow...@gmail.com> wrote: > > >http://www.w3.org/TR/css3-selectors/#target-pseudo > > > :target makes it very easy to style a part of a page that has been > > scrolled to. It is not supported by all browsers but the css rules are > > easy to write. I wish something similar would be possible in jquery. > > > :target { background: url(fade-yellow.gif) font-weight: bold; } > > > MAybe it is possible. I can't find it though.