Z
Z
zealotous2012-03-20 11:59:59
JavaScript
zealotous, 2012-03-20 11:59:59

Change browser address bar?

The article habrahabr.ru/post/108611/ describes a method for changing the address bar of the browser using anchor(anchor #).
Recently I saw that on the sites:
dropbox.com ,
github.com/defunkt/facebox/tree/master/lib , ... while
navigating through folders,
the address bar of the browser changes without anchors.
How did the creators of these sites succeed?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Beresnev, 2012-03-20
@zealotous

html5 History

R
Roman, 2012-03-20
@WNeZRoS

habrahabr.ru/qa/6436/

G
gaelpa, 2012-03-20
@gaelpa

Links in the answers have already been given, I will add only keywords for Google (taken there).
HTML5 History/State APIs.

K
krasulya, 2012-03-21
@krasulya

Then check out this github.com/balupton/History.js/ , makes it easy to work with browser history. There is support for several libraries. For older browsers that do not support the History API, there is an imitation via an anchor.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question