I was searching here but didn't got sufficient answer. I'm using following test case, but Back / Forward buttons are not working properly:
function handleChange(evt){
if (evt.pathNames[0] == '!text'){
$('div#ajax').load('text.php');
} else if (evt.pathNames[0] == 'contact') {
//load contact page
} else {
//load default page
}
}
SWFAddress.addEventListener(SWFAddressEvent.CHANGE, handleChange);
I can't find too much about this functionality together with Ajax calls, any suggestion please ? Seems, that Gmail has something similar, but working for mailbox navigation..
Thanks, Ivan