On 06 Apr 2007, at 10:03, Vin wrote: > What or which solution you think is the best to settle Ajax's > Refresh and Back button problem? > Just show your suggestions,experiences,or even your own tech > here,let's know the better way to deal with that issue. > > I'm currently learning and using Brag's "dhtmlHistory",a small > utility js class.But i don't know whether it's the best(relative). > How about you?You must have your own ideas. > > About dhtmlHistory,see a Brag's example here. > http://codinginparadise.org/weblog/2005/09/ajax-how-to-handle- > bookmarks-and-back.html
I've tried Brad's js class, but it didn't work well for me on safari, in fact, the demo page doesn't even show up on safari. For my next project, I'll need AJAX back (and maybe bookmarks), and I'm planning to use StateManager, it works with Safari too. http://exanimo.com/javascript/using-the-statemanager-in-ajax-apps I'll probably extend the link_to_remote method to allow another option :save_state so that when it's set to true, StateManager saves the state. My main goal is to implement back button functionality and it seems pretty straightforward with StateManager. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
