切換2個書簽(或查看頁面,並從書簽加載另一個頁面)將無法與jQuery History插件一起使用

[英]Toggling between 2 bookmarks (or see a page, and load another page from bookmark) won't work with jQuery History plugin


Anyone knows how to fix this jQuery History plugin? (for ajax history and bookmark)

任何人都知道如何修復這個jQuery History插件? (對於ajax歷史和書簽)

In http://github.com/tkyk/jquery-history-plugin/issues#issue/5

在http://github.com/tkyk/jquery-history-plugin/issues#issue/5

This is the details:

這是詳細信息:

My app using IE 8's IE 7 Compatibility Mode as well as http://www.serpere.info/jquery-history-plugin/samples/ajax, which is using IE 8's default mode, seem to have this problem:

我的應用程序使用IE 8的IE 7兼容模式以及http://www.serpere.info/jquery-history-plugin/samples/ajax,它使用IE 8的默認模式,似乎有這個問題:

Create 2 bookmarks

創建2個書簽

http://www.serpere.info/jquery-history-plugin/samples/ajax/#1
http://www.serpere.info/jquery-history-plugin/samples/ajax/#2

now click one bookmark, and try clicking the other, back and forth. The page content is not updated. In the current Firefox and Chrome, it works. In IE 8, it doesn't. Also true if you directly modify the hash value from #2 to #3

現在單擊一個書簽,然后嘗試來回點擊另一個。頁面內容未更新。在當前的Firefox和Chrome中,它可以運行。在IE 8中,它沒有。如果直接修改#2到#3的哈希值,也是如此

P.S. I am quite sure it is solvable, because if using Facebook on IE 8,

附:我很確定它是可以解決的,因為如果在IE 8上使用Facebook,

http://www.facebook.com/someusername?v=info#!/someusername?v=info
http://www.facebook.com/someusername?v=info#!/someusername?v=wall

http://www.facebook.com/someusername?v=info#!/someusername?v=info http://www.facebook.com/someusername?v=info#!/someusername?v=wall

works well if the user toggle between the 2 bookmarks. (substitute someusername by some real user name above)

如果用戶在2個書簽之間切換,則效果很好。 (用上面的一些真實用戶名替換someusername)

1 个解决方案

#1


1  

Try balupton's jQuery History plugin instead.

試試balupton的jQuery History插件。


注意!

本站翻译的文章,版权归属于本站,未经许可禁止转摘,转摘请注明本文地址:https://www.itdaan.com/blog/2010/07/14/72f7b309616e96305a10be2f2bc2056b.html



 
粤ICP备14056181号  © 2014-2021 ITdaan.com