Reputation: 11157
I have left and right div in my website and with navigation buttons. Let's say button_1, button_2.
When clicking on these button will change the right div content using ajax so means the left div do nothing.
The above is what I have done but I have a problem here, the url doesn't change. And I found history.js is able to solve this issue but I cannot find any tutorial about history.js + ajax.
Can anyone help me out?
Thank in adv
Upvotes: 0
Views: 172
Reputation: 3198
Try to read here: This gist will ajaxify your website with the HTML5 History API using History.js and ScrollTo.
Upvotes: 1