I have a website which is AJAX enabled for a great part.
My client now of course wants the browser buttons to behave as expected, which means the page should revert to the previous states when the 'back' button is pressed and so on.
I didn't test it yet, because it seems to be heavily based on coding - which I could handle - but I wonder if there is a more elegant (mean : abstract) solution.
The following points are mandatory :
- It must work with AJAX Views, including dynamic filters.
- It must work with custom AJAX links.
- It would be wonderful if it worked with popups (Colorbox style for example), but I think it's a lot to ask for so I could do without it.
What is your experience with AJAX browser history in Drupal 7 ? Any hint on the pitfalls you encountered would be very appreciated. A working solution or a good tutorial would be amazing.