久久久久久久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 屏蔽輸入插件.當文本框獲得焦點時選擇所有內容)
主站蜘蛛池模板: 一区二区三区四区不卡视频 | 97色伦网| 久久综合888 | 中文字幕日韩欧美 | 日本黄色不卡视频 | 午夜欧美一区二区三区在线播放 | 国产成人免费在线 | 99久久精品免费看国产四区 | 97久久久久久| 精品一二区 | 91麻豆蜜桃一区二区三区 | 天天躁人人躁人人躁狂躁 | 国产aⅴ精品 | 成人av一区 | 色又黄又爽网站www久久 | 国产精品精品视频一区二区三区 | 国产成人精品一区二区三区视频 | 国产精品99久久久久久宅男 | 一级午夜aaa免费看三区 | 日韩久久成人 | 国产成人免费视频网站视频社区 | 亚洲3p| 久久精品亚洲欧美日韩久久 | 亚洲一区视频在线 | 久久久精品日本 | jizz视频 | 亚洲一区二区三区在线免费观看 | 精品无码三级在线观看视频 | 欧美精品网站 | 高清国产一区二区 | 亚洲午夜精品 | 亚洲天堂一区二区 | 人人人人干 | 国产精品美女久久久久久久久久久 | 成人av电影网 | 夜夜夜久久久 | 91视频官网 | 久久av一区二区三区 | 亚洲网站免费看 | 欧美九九| 老司机狠狠爱 |