back

track tab history plus links on tabs for back button functionality?

Hi all, I've got a page with fg.menu and jquery UI tabs that works fairly well. I've got custom handlers to load menu links into the selected tab. The tabs are all ajax-loaded and the contents also have their own links, which I've handled as such in my tab options: var tabOpts = { select:handleSelect, event: 'change', load: func...

show dialog yes/No before leaving the app via Back button

If user repeatedly presses back button, I need a way to detect when they are on the very last activity of my task/app and show "Do you want to exit?" dialog befor they return to Home Screen or whatever previous app they had running. Its easy enough to hook onkeypressed(), but how do I figure out that this is a "last" activity in the tas...