久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Jquery 歷史/后退按鈕插件的當前狀態?

Current state of Jquery history/back-button plugins?(Jquery 歷史/后退按鈕插件的當前狀態?)
本文介紹了Jquery 歷史/后退按鈕插件的當前狀態?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

大約一年前,我花了很長時間研究這個問題,我試過了:

I spent a long time looking into this about a year ago, I tried:

  • Jquery BBQ 插件
  • Jquery 歷史插件
  • jquery .address 插件

我發現 jquery.address 插件是最好的,但這些東西變化很快.

I found the jquery.address plugin to be the best, but these things change quickly.

最近有沒有人徹底研究過這個選項?在我再次集成 jquery.address 之前渴望聽到一些想法(我之前沒有任何問題)

Has anyone thoroughly researched the options for this RECENTLY? Keen to hear some thoughts before I integrate jquery.address again (I didn't have any issues with it before)

推薦答案

我是History的作者.正如 SnippetSpace 在他的回答中所說,js 與 HTML5 History API 為舊版瀏覽器提供可選的哈?;赝?HTML5 History API 允許您直接修改 url,因此不再需要哈希!耶!

I am the author of History.js which as SnippetSpace has said in his answer works with the HTML5 History API with an optional hash-fallback for older browsers. The HTML5 History API allows you to modify the url directly, so no need for hashes anymore! Yay!

有關后退/前進插件當前情況的列表,您可以在此處查看:https://github.com/Modernizr/Modernizr/wiki/HTML5-跨瀏覽器-Polyfills

For a listing of the current situation of back/forward plugins you can check here: https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills

由于 HTML5 History API 是一個正確的解決方案對于 back/forward/hash/hashbang 問題,與舊的 hashchange 解決方案相比,這確實是要走的路.哈希的問題包括:訪問哈希 url 時雙重加載、不同的 url、與禁用 js 的用戶共享哈希鏈接不起作用.

As the HTML5 History API is a proper solution to the back/forward/hash/hashbang problem, it's really the way to go compared to the old hashchange solutions. Problems with hashes include: double load when accessing a hashed url, different urls, sharing hashed links with js-disabled users don't work.

還有一個支持 HTML5 History API 的插件是 jQuery Address,但是它不支持諸如 replaceState 之類的東西,而且我不確定它對 HTML5 History API 的實際跨瀏覽器支持.但是看看它的 問題列表 我是說它的支持不是好吧.

There is one other plugin which supports the HTML5 History API which is jQuery Address, however it does not support things like replaceState and I'm unsure of it's actual cross-browser support for the HTML5 History API. But looking at it's list of issues I'm saying that it's support isn't that well.

這篇關于Jquery 歷史/后退按鈕插件的當前狀態?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

jQuery/JavaScript Library for avatar creation?(用于創建頭像的 jQuery/JavaScript 庫?)
How to do following mask input problem?(如何做以下掩碼輸入問題?)
Issues Setting Value/Label Using DropKick Javascript(使用 DropKick Javascript 設置值/標簽的問題)
how to unit-test private methods in jquery plugins?(如何對 jquery 插件中的私有方法進行單元測試?)
stellar.js - configuring offsets / aligning elements for a vertical scrolling website?(stellar.js - 為垂直滾動網站配置偏移量/對齊元素?)
jQuery masked input plugin. select all content when textbox receives focus(jQuery 屏蔽輸入插件.當文本框獲得焦點時選擇所有內容)
主站蜘蛛池模板: 国产日韩一区二区 | 黄色国产在线观看 | 性做久久久 | 最新国产在线 | 欧美黄色片 | 免费看黄色aaaaaa 片 | 久久久久久九九九九 | 欧美a一级 | 亚洲视频在线看 | 国产三级在线观看视频 | 欧美日韩少妇 | 亚洲国产精品久久久久久久 | 中文字幕伊人 | 亚洲va国产va天堂va久久 | 日韩欧美国产一区二区三区 | 中文字幕精品在线观看 | 黄色免费小视频 | 成人3d动漫 | 久久一区二区三区四区 | 久久精品亚洲 | 久久精品欧美一区二区三区不卡 | 97视频在线观看免费 | 一区二区三区高清 | 欧美精品亚洲 | 麻豆中文字幕 | 欧美一区二区免费 | 欧美一区二区三区在线视频 | 久久99视频 | 日韩精品免费一区二区夜夜嗨 | 97超碰资源 | 人人爱人人 | 国产成人精品av | 国产乱人伦 | 2014天堂网 | 一区二区欧美日韩 | 黄色片亚洲 | www欧美| 欧美专区第一页 | 人人爽人人干 | 人人干人人草 | www.毛片.com|