I think the answers, though informative, have gotten off track. If you want to open a specific DIV based on the hash in the URL, just use:
var div = window.location.hash; $(div).show(); You should put the necessary checks to make sure there is in fact a hash in the url, etc. On Jun 10, 3:24 am, Bennobo <benn...@googlemail.com> wrote: > Can I teach jquery to open a specific <div> by URL? > > Example:http://www.domain.com/help/faq#107 > > The FAQ Entry with ID 107 should open immediatly when I go to this > URL. (show/hide) > > Have a nice day! > Bennobo