如题,不用ajax。
|
icedxOct 26, 2014 via Android
1
框架
|
|
imn1Oct 26, 2014
3
用div做分页,切换显示就是了
|
|
klamOct 26, 2014
4
把数据一次性全部载入,然后保存在变量或dom里..
|
|
avrillavigneOct 26, 2014
5
@Imivan iframe 笑出声
|
|
6
|
|
kmvanOct 26, 2014
8
用Jsonp
|
|
aliuwrOct 26, 2014
9
你需要的应该是 HTML5 History API:
https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history#Adding_and_modifying_history_entries Demo: http://html5demos.com/history 由于是 HTML5 里的标准, 对于古董浏览器, 可以使用 location.hash 作为替代品. |
|
shsf4Oct 26, 2014
12
试试angular.js的路由功能~~
|
|
aliuwrOct 26, 2014 via Android
13
|
|
15
@aliuwr 可以给个window.location.hash源码和演示么?w3school没有,网上的资料也很少。前端渣渣,谢谢了。
|
|
aliuwrOct 29, 2014
16
|