[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
The Browser History Manager provides the ability to use the back/forward navigation buttons in a DHTML application. It also allows a DHTML application to be bookmarked in a specific state. This library requires the following static markup:
File Size: | 813 lines (29 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
_getHash() X-Ref |
location.hash is a bit buggy on Opera. I have seen instances where navigating the history using the back/forward buttons, and hence changing the URL, would not change location.hash. That's ok, the implementation of an equivalent is trivial. return: {string} The hash portion of the document's location |
_storeStates() X-Ref |
Stores all the registered modules' initial state and current state. On Safari, we also store all the fully qualified states visited by the application within a single browser session. The storage takes place in the form field specified during initialization. |
_handleFQStateChange(fqstate) X-Ref |
Sets the new currentState attribute of all modules depending on the new fully qualified state. Also notifies the modules which current state has changed. param: {string} fqstate Fully qualified state |
_updateIFrame(fqstate) X-Ref |
Update the IFrame with our new state. return: {boolean} true if successful. false otherwise. |
_checkIframeLoaded() X-Ref |
Periodically checks whether our internal IFrame is ready to be used. |
_initialize() X-Ref |
Finish up the initialization of the Browser History Manager. |
_decode(string) X-Ref |
No description |
_encode(string) X-Ref |
Wrapper around <code>encodeURIComponent()</code> that converts spaces to + chars. param: {String} string string to encode return: {String} encoded string |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |