开发者

Github-style page transitions?

Is there any example code for something like that (and somehow changing the URL without开发者_JS百科 forcing a reload, with no #)? Is it using HTML5 to replace history?


They explain how they do this in their blog post and yes, it uses the HTML5 History API.

They even show you exactly how it's done in their jquery-pjax project.

Also, you can get example code for anything you see on the web via view source, finding the Javascript file, and then if it's minified passing it through something like http://jsbeautifier.org/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜