文件名称:jquery.history
- 所属分类:
- 其他小程序
- 资源属性:
- [JavaScript] [源码]
- 上传时间:
- 2013-01-24
- 文件大小:
- 2kb
- 下载次数:
- 0次
- 提 供 者:
- asdf*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
插件是ajax驱动的页面有后退/前进导航和允许书签。
示例代码:
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
})
}) -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
})
})
示例代码:
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
})
}) -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
})
})
(系统自动生成,下载前可以参看下载内容)
下载文件列表
jquery.history.js