History -


未知
未知

软件简介

Plugin is for Ajax-driven pages to have back/forward navigation and to allow
bookmarking.

Sample code:

function callback(hash) { // do stuff that loads page content based on hash variable } $(document).ready(function() { $.history.init(callback); $("a[@rel='history']").click(function(){ $.history.load(this.href.replace(/^.*#/, '')); return false; }); });