[问题] pushState

楼主: poototo (poototo)   2014-04-17 20:08:08
目前有个问题
在html档内设好几个ajax及对应的pushState跟url
产生换页效果
不过没有后台脚本的话,这些url直接连也没有意义吧?
根本没有对应的实体网页档
有可能解决吗?
Thx
0417
作者: KeithYeh   2014-04-17 21:30:00
url给hash ex: index.html#section
楼主: poototo (poototo)   2014-04-17 22:19:00
对对,这样就都能只用前台来判断url及切换state,谢谢!

Links booklink

Contact Us: admin [ a t ] ucptt.com