I think location.hash is just what you need.
On 13 мар, 13:33, Cinnamon <[email protected]> wrote: > Hello everyone, > > I was wondering if it is possible to alter the URI without loading a > new page. For example, when jQuery records a click on a link, it not > only slides down a certain div, but also alters the URI in the address > bar from example.com/about-us/ to example.com/about-us/link1/ without > trying to actually load another page! > > The main usage for this kind of functionality is linking to > example.com/about-us/link1/. If a user clicks this link, jQuery should > automatically show a certain div rather than waiting for corresponding > link to be clicked. > > So, any ideas? Are there any plugins with this kind of functionality?

