作者poototo (poototo)
看板Ajax
标题[问题] pushState
时间Thu Apr 17 20:08:08 2014
目前有个问题
在html档内设好几个ajax及对应的pushState跟url
产生换页效果
不过没有後台脚本的话,这些url直接连也没有意义吧?
根本没有对应的实体网页档
有可能解决吗?
Thx
0417
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 1.200.49.88
※ 文章网址: http://webptt.com/cn.aspx?n=bbs/Ajax/M.1397736492.A.561.html
1F:→ KeithYeh:url给hash ex: index.html#section 04/17 21:30
2F:→ poototo:对对,这样就都能只用前台来判断url及切换state,谢谢! 04/17 22:19