[問題] 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