jquery.history.js 实例
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
one<script type="text/javascript" src="js/jquery-1.7.js"></script><script type="text/javascript" src="js/jquery.history.js"></script><script type="text/javascript">
(function($){
var origContent = "";
function loadContent(hash) {
if(hash != "") {
$('#panel').load(hash);
}
}
$(document).ready(function() {
$.history.init(loadContent);
});
})(jQuery);
</script>