0
A
回答
0
我還沒有發現任何文檔下去,但我想這是實現它的最簡單的方法:()
1添加此功能在您的document.ready
SWFAddress.onChange = function() { //on url change
try {
var thePath = SWFAddress.getPathNames(); //get&split url
if (thePath[0] == 'one') go('one'); //if url is #one do something
if (thePath[0] == 'two') go('two'); //if url is #two do something
} catch(e) {}
}
2-在鏈接上添加適當的錨(a href =「#one」)。
相關問題
- 1. Amazon S3和swfaddress
- 2. SWFAddress和數據持久性
- 3. Flash as3 SWFAddress setValue issue
- 4. SWFAddress深層鏈接和C#庫?
- 5. 未調度SWFAddress CHANGE事件
- 6. 查看swfaddress-optimizer.js的文檔?
- 7. SWFAddress和Thickbox(或JQuery?)在IE6/7中播放效果不佳
- 8. SWFAddress和JSInterface之間的區別......選擇哪一個?
- 9. Google如何讀取SWFAddress深層路徑?
- 10. SwfAddress與SwfObject的「回調」參數衝突
- 11. SWFAddress CHANGE事件,派發對象
- 12. SWFAddress 2.2沒有對特定網址做出響應
- 13. swfaddress阿賈克斯後退按鈕不工作
- 14. 如何配置或修改SWFAddress以使其使用#!而不是#
- 15. 從html鏈接調用AS3函數 - Javascript? PHP的? swfaddress?
- 16. SWFAddress用於更改URL中的INDIVIDUAL參數
- 17. SWFAddress,爲多個級別寫入開關/外殼?
- 18. SWFAddress setValue()方法觸發URL更改事件
- 19. AS3 - swfaddress深層鏈接,當有人貼的URL
- 20. 使用mod_rewrite刪除www和SWFAddress。爲什麼Safari會在hashtag,Chrome和FF之後失去內容?
- 21. jQuery ajax,.each和ajax再次
- 22. 簡單的ajax和jquery ajax
- 23. django ajax和非ajax模板
- 24. jquery和jScrollPane和ajax
- 25. Framework7和Ajax
- 26. iframe和Ajax $ .post
- 27. MVC Ajax和Ajax.ActionLink
- 28. JSON和jQuery AJAX
- 29. magento,wordpress,和ajax
- 30. Jquery,Onclick和Ajax