Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 ajaxCrawlable, jQuery.param.fragment
D
 delay, jQuery.fn.hashchange
 deparam, jQuery
 Deparam(from string)
 domain, jQuery.fn.hashchange
E
 Element manipulation
 elemUrlAttr, jQuery
 Events
 Examples
F
 Files
 fragment
 fragment(build url), jQuery.param
 Functions
G
 getState, jQuery.bbq
H
 hashchange, jQuery.fn
 hashchange event
 hashchange event(BBQ)
 History,hashchange event
J
 jQuery BBQ:Back Button&Query Library
 jQuery hashchange event
K
 Known issues
L
 License
N
 noEscape, jQuery.param.fragment
P
 Param(to string)
 Properties
 pushState, jQuery.bbq
Q
 querystring
 querystring(build url), jQuery.param
R
 Release History
 removeState, jQuery.bbq
S
 sorted, jQuery.param
 src, jQuery.fn.hashchange
 Support and Testing
TODO: DESCRIBE
The numeric interval (in milliseconds) at which the hashchange event polling loop executes.
Deserialize a params string into an object, optionally coercing numbers, booleans, null and undefined values; this method is the counterpart to the internal jQuery.param method.
If you’re setting document.domain in your JavaScript, and you want hash history to work in IE6/7, not only must this property be set, but you must also set document.domain BEFORE jQuery is loaded into the page.
Get the internal “Default URL attribute per tag” list, or augment the list with additional tag-attribute pairs, in case the defaults are insufficient.
These working examples, complete with fully commented code, illustrate a few ways in which this plugin can be used.
Parse the fragment (hash) from a URL or the current window.location.href, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.
Update URL attribute in one or more elements, merging the current URL (with or without pre-existing fragment/hash params) plus any params object or string into a new URL, which is then set into that attribute.
Retrieve the fragment (hash) from a URL or if no arguments are passed, the current window.location.href.
Merge a URL, with or without pre-existing fragment (hash) params, plus any object, params string or URL containing fragment (hash) params into a new URL.
Retrieves the current ‘state’ from the browser history, parsing location.hash for a specific key or returning an object containing the entire state, optionally coercing numbers, booleans, null and undefined values.
Bind a handler to the window.onhashchange event or trigger all bound window.onhashchange event handlers.
Fired when location.hash changes.
In jQuery 1.4 and newer, the event object passed into any hashchange event callback is augmented with a copy of the location.hash fragment at the time the event was triggered as its event.fragment property.
Version: 1.3pre, Last updated: 8/26/2010
Version: 1.3, Last updated: 7/21/2010
While this jQuery hashchange event implementation is quite stable and robust, there are a few unfortunate browser bugs surrounding expected hashchange event-based behaviors, independent of any JavaScript window.onhashchange abstraction.
Copyright © 2010 “Cowboy” Ben Alman, Dual licensed under the MIT and GPL licenses.
Specify characters that will be left unescaped when fragments are created or merged using jQuery.param.fragment, or when the fragment is modified using jQuery.bbq.pushState.
Adds a ‘state’ into the browser history at the current position, setting location.hash and triggering any bound hashchange event callbacks (provided the new state is different than the previous state).
Parse the query string from a URL or the current window.location.href, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.
Update URL attribute in one or more elements, merging the current URL (with or without pre-existing query string params) plus any params object or string into a new URL, which is then set into that attribute.
Retrieve the query string from a URL or if no arguments are passed, the current window.location.href.
Merge a URL, with or without pre-existing query string params, plus any object, params string or URL containing query string params into a new URL.
Remove one or more keys from the current browser history ‘state’, creating a new state, setting location.hash and triggering any bound hashchange event callbacks (provided the new state is different than the previous state).
Returns a params string equivalent to that returned by the internal jQuery.param method, but sorted, which makes it suitable for use as a cache key.
If, for some reason, you need to specify an Iframe src file (for example, when setting document.domain as in jQuery.fn.hashchange.domain), you can do so using this property.
Information about what version or versions of jQuery this plugin has been tested with, what browsers it has been tested in, and where the unit tests reside (so you can test it yourself).
Close