Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

moved examples into the repo, more tweaks, etc

  • Loading branch information...
commit f02fa249e46d5c26ace81ecf186bf434881c7330 1 parent 9c9c71b
@cowboy cowboy authored
Showing with 16,927 additions and 177 deletions.
  1. +22 −0 LICENSE
  2. +23 −7 README.markdown
  3. +15 −13 docs/files/jquery-ba-bbq-js.html
  4. +1 −1  docs/index/Files.html
  5. +1 −1  docs/index/Functions.html
  6. +10 −10 docs/index/General.html
  7. +2 −2 docs/index/Properties.html
  8. BIN  docs/nd/Data/ConfigFileInfo.nd
  9. +2 −2 docs/nd/Data/FileInfo.nd
  10. BIN  docs/nd/Data/SymbolTable.nd
  11. +1 −1  docs/search/FunctionsG.html
  12. +1 −1  docs/search/FunctionsP.html
  13. +1 −1  docs/search/GeneralE.html
  14. +1 −1  docs/search/GeneralG.html
  15. +1 −1  docs/search/GeneralP.html
  16. +1 −1  docs/search/GeneralR.html
  17. +1 −1  docs/search/PropertiesP.html
  18. +160 −0 examples/back-button-test/index.php
  19. +11 −0 examples/config.php
  20. BIN  examples/fragment-advanced/bbq.jpg
  21. +16 −0 examples/fragment-advanced/burger.html
  22. BIN  examples/fragment-advanced/burger.jpg
  23. +16 −0 examples/fragment-advanced/chicken.html
  24. BIN  examples/fragment-advanced/chicken.jpg
  25. +321 −0 examples/fragment-advanced/index.php
  26. +16 −0 examples/fragment-advanced/kebabs.html
  27. BIN  examples/fragment-advanced/kebabs.jpg
  28. +16 −0 examples/fragment-advanced/kielbasa.html
  29. BIN  examples/fragment-advanced/kielbasa.jpg
  30. +16 −0 examples/fragment-advanced/ribs.html
  31. BIN  examples/fragment-advanced/ribs.jpg
  32. +16 −0 examples/fragment-advanced/steak.html
  33. BIN  examples/fragment-advanced/steak.jpg
  34. BIN  examples/fragment-basic/bbq.jpg
  35. +16 −0 examples/fragment-basic/burger.html
  36. BIN  examples/fragment-basic/burger.jpg
  37. +16 −0 examples/fragment-basic/chicken.html
  38. BIN  examples/fragment-basic/chicken.jpg
  39. +259 −0 examples/fragment-basic/index.php
  40. +16 −0 examples/fragment-basic/kebabs.html
  41. BIN  examples/fragment-basic/kebabs.jpg
  42. +16 −0 examples/fragment-basic/kielbasa.html
  43. BIN  examples/fragment-basic/kielbasa.jpg
  44. +16 −0 examples/fragment-basic/ribs.html
  45. BIN  examples/fragment-basic/ribs.jpg
  46. +16 −0 examples/fragment-basic/steak.html
  47. BIN  examples/fragment-basic/steak.jpg
  48. +518 −0 examples/index.css
  49. +121 −0 examples/index.php
  50. +47 −40 jquery.ba-bbq.js
  51. +2 −2 jquery.ba-bbq.min.js
  52. +165 −0 shared/SyntaxHighlighter/LGPLv3.txt
  53. BIN  shared/SyntaxHighlighter/scripts/clipboard.swf
  54. +61 −0 shared/SyntaxHighlighter/scripts/shBrushAS3.js
  55. +59 −0 shared/SyntaxHighlighter/scripts/shBrushBash.js
  56. +64 −0 shared/SyntaxHighlighter/scripts/shBrushCSharp.js
  57. +99 −0 shared/SyntaxHighlighter/scripts/shBrushCpp.js
  58. +93 −0 shared/SyntaxHighlighter/scripts/shBrushCss.js
  59. +57 −0 shared/SyntaxHighlighter/scripts/shBrushDelphi.js
  60. +43 −0 shared/SyntaxHighlighter/scripts/shBrushDiff.js
  61. +69 −0 shared/SyntaxHighlighter/scripts/shBrushGroovy.js
  62. +52 −0 shared/SyntaxHighlighter/scripts/shBrushJScript.js
  63. +55 −0 shared/SyntaxHighlighter/scripts/shBrushJava.js
  64. +60 −0 shared/SyntaxHighlighter/scripts/shBrushJavaFX.js
  65. +74 −0 shared/SyntaxHighlighter/scripts/shBrushPerl.js
  66. +91 −0 shared/SyntaxHighlighter/scripts/shBrushPhp.js
  67. +35 −0 shared/SyntaxHighlighter/scripts/shBrushPlain.js
  68. +76 −0 shared/SyntaxHighlighter/scripts/shBrushPowerShell.js
  69. +56 −0 shared/SyntaxHighlighter/scripts/shBrushPython.js
  70. +57 −0 shared/SyntaxHighlighter/scripts/shBrushRuby.js
  71. +53 −0 shared/SyntaxHighlighter/scripts/shBrushScala.js
  72. +68 −0 shared/SyntaxHighlighter/scripts/shBrushSql.js
  73. +58 −0 shared/SyntaxHighlighter/scripts/shBrushVb.js
  74. +71 −0 shared/SyntaxHighlighter/scripts/shBrushXml.js
  75. +30 −0 shared/SyntaxHighlighter/scripts/shCore.js
  76. +30 −0 shared/SyntaxHighlighter/scripts/shLegacy.js
  77. +1,984 −0 shared/SyntaxHighlighter/src/shCore.js
  78. +172 −0 shared/SyntaxHighlighter/src/shLegacy.js
  79. BIN  shared/SyntaxHighlighter/styles/help.png
  80. BIN  shared/SyntaxHighlighter/styles/magnifier.png
  81. BIN  shared/SyntaxHighlighter/styles/page_white_code.png
  82. BIN  shared/SyntaxHighlighter/styles/page_white_copy.png
  83. BIN  shared/SyntaxHighlighter/styles/printer.png
  84. +342 −0 shared/SyntaxHighlighter/styles/shCore.css
  85. +191 −0 shared/SyntaxHighlighter/styles/shThemeDefault.css
  86. +193 −0 shared/SyntaxHighlighter/styles/shThemeDjango.css
  87. +192 −0 shared/SyntaxHighlighter/styles/shThemeEmacs.css
  88. +193 −0 shared/SyntaxHighlighter/styles/shThemeFadeToGrey.css
  89. +192 −0 shared/SyntaxHighlighter/styles/shThemeMidnight.css
  90. +192 −0 shared/SyntaxHighlighter/styles/shThemeRDark.css
  91. BIN  shared/SyntaxHighlighter/styles/wrapping.png
  92. +42 −0 shared/SyntaxHighlighter/test.html
  93. +264 −0 shared/ba-debug.js
  94. +4,376 −0 shared/jquery-1.3.2.js
  95. +5,212 −0 shared/jquery-1.4pre.js
  96. +46 −46 unit/{test.html → index.html}
  97. +46 −46 unit/{test-1.3.2.html → jquery-1.3.2.html}
View
22 LICENSE
@@ -0,0 +1,22 @@
+Copyright (c) 2009 "Cowboy" Ben Alman
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
View
30 README.markdown
@@ -1,28 +1,44 @@
# jQuery BBQ: Back Button & Query Library #
[http://benalman.com/projects/jquery-bbq-plugin/](http://benalman.com/projects/jquery-bbq-plugin/)
-Version: 0.1pre, Last updated: 9/27/2009
+Version: 0.1pre, Last updated: 9/30/2009
+
+jQuery BBQ enables simple, yet powerful bookmarkable #hash history via a cross-browser window.onhashchange event. In addition, jQuery BBQ provides a full jQuery.deparam() method, along with both fragment and query string parse and merge utility methods.
-DESCRIPTION
## License ##
Copyright (c) 2009 "Cowboy" Ben Alman
Licensed under the MIT license
[http://benalman.com/about/license/](http://benalman.com/about/license/)
+
## Documentation ##
-[http://benalman.com/code/projects/jquery-bbq/docs/files/jquery-ba-bbq-js.html](http://benalman.com/code/projects/jquery-bbq/docs/files/jquery-ba-bbq-js.html)
+[http://benalman.com/code/projects/jquery-bbq/docs/](http://benalman.com/code/projects/jquery-bbq/docs/)
+
## Examples ##
-COMING SOON
+These working examples, complete with fully commented code, illustrate a few
+ways in which this plugin can be used.
-## Support and Testing ##
+[http://benalman.com/code/projects/jquery-bbq/examples/fragment-basic/](http://benalman.com/code/projects/jquery-bbq/examples/fragment-basic/)
+[http://benalman.com/code/projects/jquery-bbq/examples/fragment-advanced/](http://benalman.com/code/projects/jquery-bbq/examples/fragment-advanced/)
-### Unit Tests ###
-[http://benalman.com/code/projects/jquery-bbq/unit/test.html](http://benalman.com/code/projects/jquery-bbq/unit/test.html)
+
+## Support and Testing ##
+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).
### jQuery Versions ###
1.3.2, 1.4pre
### Browsers Tested ###
Internet Explorer 6-8, Firefox 2-3.6, Safari 3-4, Chrome, Opera 9.6-10.
+
+### Unit Tests ###
+[http://benalman.com/code/projects/jquery-bbq/unit/](http://benalman.com/code/projects/jquery-bbq/unit/)
+
+
+## Release History ##
+
+0.1pre - (9/30/2009) Pre-initial release
View
28 docs/files/jquery-ba-bbq-js.html
@@ -11,13 +11,15 @@
-<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="jQuery_BBQ:Back_ButtonQuery_Library"></a>jQuery BBQ: Back Button &amp; Query Library</h1><div class=CBody><p><b>Version: 0.1pre, Last updated: 9/28/2009</b></p><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>Home</td><td class=CDLDescription><a href="http://benalman.com/projects/jquery-bbq-plugin/" class=LURL target=_top>http://benalman.com/projects/jquery-bbq-plugin/</a></td></tr><tr><td class=CDLEntry>GitHub</td><td class=CDLDescription><a href="http://github.com/cowboy/jquery-bbq/" class=LURL target=_top>http://github.com/cowboy/jquery-bbq/</a></td></tr><tr><td class=CDLEntry>Source</td><td class=CDLDescription><a href="http://github.com/cowboy/jquery-bbq/raw/master/jquery.ba-bbq.js" class=LURL target=_top>http://github.com<wbr>/cowboy<wbr>/jquery-bbq<wbr>/raw<wbr>/master<wbr>/jquery.ba-bbq.js</a></td></tr><tr><td class=CDLEntry>(Minified)</td><td class=CDLDescription><a href="http://github.com/cowboy/jquery-bbq/raw/master/jquery.ba-bbq.min.js" class=LURL target=_top>http://github.com<wbr>/cowboy<wbr>/jquery-bbq<wbr>/raw<wbr>/master<wbr>/jquery.ba-bbq.min.js</a> (3.1kb)</td></tr></table><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#jQuery_BBQ:Back_ButtonQuery_Library" >jQuery BBQ: Back Button &amp; Query Library</a></td><td class=SDescription><b>Version: 0.1pre, Last updated: 9/28/2009</b></td></tr><tr class="SGeneric SMarked"><td class=SEntry><a href="#License" >License</a></td><td class=SDescription>Copyright &copy; 2009 &ldquo;Cowboy&rdquo; Ben Alman, Licensed under the MIT license. </td></tr><tr class="SGeneric"><td class=SEntry><a href="#Support_and_Testing" >Support and Testing</a></td><td class=SDescription>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).</td></tr><tr class="SGeneric SMarked"><td class=SEntry><a href="#Revision_History" >Revision History</a></td><td class=SDescription></td></tr><tr class="SSection"><td class=SEntry><a href="#Param(to_string)" >Param (to string)</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jQuery.param.querystring" >jQuery.<wbr>param.<wbr>querystring</a></td><td class=SDescription>Retrieve the query string from a URL or if no arguments are passed, the current document.location.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jQuery.param.querystring(build_url)" >jQuery.<wbr>param.<wbr>querystring (build url)</a></td><td class=SDescription>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.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jQuery.param.fragment" >jQuery.<wbr>param.<wbr>fragment</a></td><td class=SDescription>Retrieve the fragment (hash) from a URL or if no arguments are passed, the current document.location.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jQuery.param.fragment(build_url)" >jQuery.<wbr>param.<wbr>fragment (build url)</a></td><td class=SDescription>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.</td></tr><tr class="SSection"><td class=SEntry><a href="#Deparam(from_string)" >Deparam (from string)</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jQuery.deparam" >jQuery.<wbr>deparam</a></td><td class=SDescription>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.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jQuery.deparam.querystring" >jQuery.<wbr>deparam.<wbr>querystring</a></td><td class=SDescription>Parse the query string from a URL or the current document.location, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jQuery.deparam.fragment" >jQuery.<wbr>deparam.<wbr>fragment</a></td><td class=SDescription>Parse the fragment (hash) from a URL or the current document.location, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</td></tr><tr class="SSection"><td class=SEntry><a href="#Element_manipulation" >Element manipulation</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jQuery.elemUrlAttr" >jQuery.<wbr>elemUrlAttr</a></td><td class=SDescription>Get the internal &ldquo;Default URL attribute per tag&rdquo; list, or augment the list with additional tag-attribute pairs, in case the defaults are insufficient.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jQuery.fn.querystring" >jQuery.<wbr>fn.<wbr>querystring</a></td><td class=SDescription>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. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jQuery.fn.fragment" >jQuery.<wbr>fn.<wbr>fragment</a></td><td class=SDescription>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. </td></tr><tr class="SSection"><td class=SEntry><a href="#History,hashchange_event" >History, hashchange event</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jQuery.history.pushState" >jQuery.<wbr>history.<wbr>pushState</a></td><td class=SDescription>Adds a &lsquo;state&rsquo; into the browser history at the current position, setting location.hash and triggering any bound <a href="#window.onhashchange" class=LEvent id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">window.onhashchange</a> event callbacks (provided the new state is different than the previous state).</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jQuery.history.getState" >jQuery.<wbr>history.<wbr>getState</a></td><td class=SDescription>Retrieves the current &lsquo;state&rsquo; 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.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#jQuery.history.pollDelay" >jQuery.<wbr>history.<wbr>pollDelay</a></td><td class=SDescription>The numeric speed (in milliseconds) at which the <a href="#window.onhashchange" class=LEvent id=link2 onMouseOver="ShowTip(event, 'tt1', 'link2')" onMouseOut="HideTip('tt1')">window.onhashchange</a> polling loop polls. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Events" >Events</a></td><td class=SDescription></td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#window.onhashchange" >window.<wbr>onhashchange</a></td><td class=SDescription>Fired when document.location.hash changes. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
+<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="jQuery_BBQ:Back_ButtonQuery_Library"></a>jQuery BBQ: Back Button &amp; Query Library</h1><div class=CBody><p><b>Version: 0.1pre, Last updated: 9/30/2009</b></p><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>Home</td><td class=CDLDescription><a href="http://benalman.com/projects/jquery-bbq-plugin/" class=LURL target=_top>http://benalman.com/projects/jquery-bbq-plugin/</a></td></tr><tr><td class=CDLEntry>GitHub</td><td class=CDLDescription><a href="http://github.com/cowboy/jquery-bbq/" class=LURL target=_top>http://github.com/cowboy/jquery-bbq/</a></td></tr><tr><td class=CDLEntry>Source</td><td class=CDLDescription><a href="http://github.com/cowboy/jquery-bbq/raw/master/jquery.ba-bbq.js" class=LURL target=_top>http://github.com<wbr>/cowboy<wbr>/jquery-bbq<wbr>/raw<wbr>/master<wbr>/jquery.ba-bbq.js</a></td></tr><tr><td class=CDLEntry>(Minified)</td><td class=CDLDescription><a href="http://github.com/cowboy/jquery-bbq/raw/master/jquery.ba-bbq.min.js" class=LURL target=_top>http://github.com<wbr>/cowboy<wbr>/jquery-bbq<wbr>/raw<wbr>/master<wbr>/jquery.ba-bbq.min.js</a> (3.1kb)</td></tr></table><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#jQuery_BBQ:Back_ButtonQuery_Library" >jQuery BBQ: Back Button &amp; Query Library</a></td><td class=SDescription><b>Version: 0.1pre, Last updated: 9/30/2009</b></td></tr><tr class="SGeneric SMarked"><td class=SEntry><a href="#License" >License</a></td><td class=SDescription>Copyright &copy; 2009 &ldquo;Cowboy&rdquo; Ben Alman, Licensed under the MIT license. </td></tr><tr class="SGeneric"><td class=SEntry><a href="#Examples" >Examples</a></td><td class=SDescription>These working examples, complete with fully commented code, illustrate a few ways in which this plugin can be used.</td></tr><tr class="SGeneric SMarked"><td class=SEntry><a href="#Support_and_Testing" >Support and Testing</a></td><td class=SDescription>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).</td></tr><tr class="SGeneric"><td class=SEntry><a href="#Release_History" >Release History</a></td><td class=SDescription></td></tr><tr class="SSection"><td class=SEntry><a href="#Param(to_string)" >Param (to string)</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jQuery.param.querystring" >jQuery.<wbr>param.<wbr>querystring</a></td><td class=SDescription>Retrieve the query string from a URL or if no arguments are passed, the current document.location.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jQuery.param.querystring(build_url)" >jQuery.<wbr>param.<wbr>querystring (build url)</a></td><td class=SDescription>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.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jQuery.param.fragment" >jQuery.<wbr>param.<wbr>fragment</a></td><td class=SDescription>Retrieve the fragment (hash) from a URL or if no arguments are passed, the current document.location.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jQuery.param.fragment(build_url)" >jQuery.<wbr>param.<wbr>fragment (build url)</a></td><td class=SDescription>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.</td></tr><tr class="SSection"><td class=SEntry><a href="#Deparam(from_string)" >Deparam (from string)</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jQuery.deparam" >jQuery.<wbr>deparam</a></td><td class=SDescription>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.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jQuery.deparam.querystring" >jQuery.<wbr>deparam.<wbr>querystring</a></td><td class=SDescription>Parse the query string from a URL or the current document.location, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jQuery.deparam.fragment" >jQuery.<wbr>deparam.<wbr>fragment</a></td><td class=SDescription>Parse the fragment (hash) from a URL or the current document.location, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</td></tr><tr class="SSection"><td class=SEntry><a href="#Element_manipulation" >Element manipulation</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jQuery.elemUrlAttr" >jQuery.<wbr>elemUrlAttr</a></td><td class=SDescription>Get the internal &ldquo;Default URL attribute per tag&rdquo; list, or augment the list with additional tag-attribute pairs, in case the defaults are insufficient.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jQuery.fn.querystring" >jQuery.<wbr>fn.<wbr>querystring</a></td><td class=SDescription>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. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jQuery.fn.fragment" >jQuery.<wbr>fn.<wbr>fragment</a></td><td class=SDescription>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. </td></tr><tr class="SSection"><td class=SEntry><a href="#History,hashchange_event" >History, hashchange event</a></td><td class=SDescription></td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#jQuery.bbq.pushState" >jQuery.<wbr>bbq.<wbr>pushState</a></td><td class=SDescription>Adds a &lsquo;state&rsquo; into the browser history at the current position, setting location.hash and triggering any bound <a href="#window.onhashchange" class=LEvent id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">window.onhashchange</a> event callbacks (provided the new state is different than the previous state).</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#jQuery.bbq.getState" >jQuery.<wbr>bbq.<wbr>getState</a></td><td class=SDescription>Retrieves the current &lsquo;state&rsquo; 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.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#jQuery.bbq.pollDelay" >jQuery.<wbr>bbq.<wbr>pollDelay</a></td><td class=SDescription>The numeric interval (in milliseconds) at which the <a href="#window.onhashchange" class=LEvent id=link2 onMouseOver="ShowTip(event, 'tt1', 'link2')" onMouseOut="HideTip('tt1')">window.onhashchange</a> polling loop executes. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Events" >Events</a></td><td class=SDescription></td></tr><tr class="SEvent SIndent2 SMarked"><td class=SEntry><a href="#window.onhashchange" >window.<wbr>onhashchange</a></td><td class=SDescription>Fired when document.location.hash changes. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="License"></a>License</h3><div class=CBody><p>Copyright &copy; 2009 &ldquo;Cowboy&rdquo; Ben Alman, Licensed under the MIT license.&nbsp; <a href="http://benalman.com/about/license/" class=LURL target=_top>http://benalman.com/about/license/</a></p></div></div></div>
-<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="Support_and_Testing"></a>Support and Testing</h3><div class=CBody><p>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).</p><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>jQuery Versions</td><td class=CDLDescription>1.3.2, 1.4pre</td></tr><tr><td class=CDLEntry>Browsers Tested</td><td class=CDLDescription>Internet Explorer 6-8, Firefox 2-3.6, Safari 3-4, Chrome, Opera 9.6-10.</td></tr><tr><td class=CDLEntry>Unit Tests</td><td class=CDLDescription><a href="http://benalman.com/code/projects/jquery-bbq/unit/test.html" class=LURL target=_top>http://benalman.com<wbr>/code<wbr>/projects<wbr>/jquery-bbq<wbr>/unit<wbr>/test.html</a></td></tr></table></div></div></div>
+<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="Examples"></a>Examples</h3><div class=CBody><p>These working examples, complete with fully commented code, illustrate a few ways in which this plugin can be used.</p><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>Basic AJAX</td><td class=CDLDescription><a href="http://benalman.com/code/projects/jquery-bbq/examples/fragment-basic/" class=LURL target=_top>http://benalman.com<wbr>/code<wbr>/projects<wbr>/jquery-bbq<wbr>/examples<wbr>/fragment-basic<wbr>/</a></td></tr><tr><td class=CDLEntry>Advanced AJAX</td><td class=CDLDescription><a href="http://benalman.com/code/projects/jquery-bbq/examples/fragment-advanced/" class=LURL target=_top>http://benalman.com<wbr>/code<wbr>/projects<wbr>/jquery-bbq<wbr>/examples<wbr>/fragment-advanced<wbr>/</a></td></tr><tr><td class=CDLEntry>jQuery UI Tabs</td><td class=CDLDescription>COMING SOON</td></tr><tr><td class=CDLEntry>Deparam</td><td class=CDLDescription>COMING SOON</td></tr></table></div></div></div>
-<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="Revision_History"></a>Revision History</h3><div class=CBody><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>0.1pre</td><td class=CDLDescription>Pre-initial release</td></tr></table></div></div></div>
+<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="Support_and_Testing"></a>Support and Testing</h3><div class=CBody><p>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).</p><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>jQuery Versions</td><td class=CDLDescription>1.3.2, 1.4pre</td></tr><tr><td class=CDLEntry>Browsers Tested</td><td class=CDLDescription>Internet Explorer 6-8, Firefox 2-3.6, Safari 3-4, Chrome, Opera 9.6-10.</td></tr><tr><td class=CDLEntry>Unit Tests</td><td class=CDLDescription><a href="http://benalman.com/code/projects/jquery-bbq/unit/" class=LURL target=_top>http://benalman.com<wbr>/code<wbr>/projects<wbr>/jquery-bbq<wbr>/unit<wbr>/</a></td></tr></table></div></div></div>
+
+<div class="CGeneric"><div class=CTopic><h3 class=CTitle><a name="Release_History"></a>Release History</h3><div class=CBody><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>0.1pre</td><td class=CDLDescription>(9/30/2009) Pre-initial release</td></tr></table></div></div></div>
<div class="CSection"><div class=CTopic><h2 class=CTitle><a name="Param(to_string)"></a>Param (to string)</h2><div class=CBody><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#jQuery.param.querystring" >jQuery.<wbr>param.<wbr>querystring</a></td><td class=SDescription>Retrieve the query string from a URL or if no arguments are passed, the current document.location.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#jQuery.param.querystring(build_url)" >jQuery.<wbr>param.<wbr>querystring (build url)</a></td><td class=SDescription>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.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#jQuery.param.fragment" >jQuery.<wbr>param.<wbr>fragment</a></td><td class=SDescription>Retrieve the fragment (hash) from a URL or if no arguments are passed, the current document.location.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#jQuery.param.fragment(build_url)" >jQuery.<wbr>param.<wbr>fragment (build url)</a></td><td class=SDescription>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.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
@@ -51,31 +53,31 @@
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="jQuery.fn.fragment"></a>jQuery.<wbr>fn.<wbr>fragment</h3><div class=CBody><p>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.&nbsp; Like <a href="#jQuery.param.fragment(build_url)" class=LFunction id=link7 onMouseOver="ShowTip(event, 'tt6', 'link7')" onMouseOut="HideTip('tt6')">jQuery.param.fragment (build url)</a>, but for all elements in a jQuery collection.</p><h4 class=CHeading>Usage</h4><blockquote><pre>jQuery('selector').fragment( [ attr, ] params [, merge_mode ] );</pre></blockquote><h4 class=CHeading>Arguments</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>attr</td><td class=CDLDescription>(String) Optional name of an attribute that will contain a URL to merge params into.&nbsp; See <a href="#jQuery.elemUrlAttr" class=LFunction id=link8 onMouseOver="ShowTip(event, 'tt5', 'link8')" onMouseOut="HideTip('tt5')">jQuery.elemUrlAttr</a> for a list of default attributes.</td></tr><tr><td class=CDLEntry>params</td><td class=CDLDescription>(Object) A params object to be merged into the URL attribute.</td></tr><tr><td class=CDLEntry>params</td><td class=CDLDescription>(String) A URL containing fragment (hash) params, or params string to be merged into the URL attribute.</td></tr><tr><td class=CDLEntry>merge_mode</td><td class=CDLDescription>(Number) Merge behavior defaults to 0 if merge_mode is not specified, and is as-follows:</td></tr></table><ul><li>0: params in the params argument will override any params in attr URL.</li><li>1: any params in attr URL will override params in the params argument.</li><li>2: params argument will completely replace any fragment (hash) in attr URL.</li></ul><h4 class=CHeading>Returns</h4><p>(jQuery) The initial jQuery collection of elements, but with modified URL attribute values.</p></div></div></div>
-<div class="CSection"><div class=CTopic><h2 class=CTitle><a name="History,hashchange_event"></a>History, hashchange event</h2><div class=CBody><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#jQuery.history.pushState" >jQuery.<wbr>history.<wbr>pushState</a></td><td class=SDescription>Adds a &lsquo;state&rsquo; into the browser history at the current position, setting location.hash and triggering any bound <a href="#window.onhashchange" class=LEvent id=link9 onMouseOver="ShowTip(event, 'tt1', 'link9')" onMouseOut="HideTip('tt1')">window.onhashchange</a> event callbacks (provided the new state is different than the previous state).</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#jQuery.history.getState" >jQuery.<wbr>history.<wbr>getState</a></td><td class=SDescription>Retrieves the current &lsquo;state&rsquo; 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.</td></tr><tr class="SGroup"><td class=SEntry><a href="#Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#jQuery.history.pollDelay" >jQuery.<wbr>history.<wbr>pollDelay</a></td><td class=SDescription>The numeric speed (in milliseconds) at which the <a href="#window.onhashchange" class=LEvent id=link10 onMouseOver="ShowTip(event, 'tt1', 'link10')" onMouseOut="HideTip('tt1')">window.onhashchange</a> polling loop polls. </td></tr><tr class="SGroup"><td class=SEntry><a href="#Events" >Events</a></td><td class=SDescription></td></tr><tr class="SEvent SIndent1 SMarked"><td class=SEntry><a href="#window.onhashchange" >window.<wbr>onhashchange</a></td><td class=SDescription>Fired when document.location.hash changes. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
+<div class="CSection"><div class=CTopic><h2 class=CTitle><a name="History,hashchange_event"></a>History, hashchange event</h2><div class=CBody><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#jQuery.bbq.pushState" >jQuery.<wbr>bbq.<wbr>pushState</a></td><td class=SDescription>Adds a &lsquo;state&rsquo; into the browser history at the current position, setting location.hash and triggering any bound <a href="#window.onhashchange" class=LEvent id=link9 onMouseOver="ShowTip(event, 'tt1', 'link9')" onMouseOut="HideTip('tt1')">window.onhashchange</a> event callbacks (provided the new state is different than the previous state).</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#jQuery.bbq.getState" >jQuery.<wbr>bbq.<wbr>getState</a></td><td class=SDescription>Retrieves the current &lsquo;state&rsquo; 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.</td></tr><tr class="SGroup"><td class=SEntry><a href="#Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#jQuery.bbq.pollDelay" >jQuery.<wbr>bbq.<wbr>pollDelay</a></td><td class=SDescription>The numeric interval (in milliseconds) at which the <a href="#window.onhashchange" class=LEvent id=link10 onMouseOver="ShowTip(event, 'tt1', 'link10')" onMouseOut="HideTip('tt1')">window.onhashchange</a> polling loop executes. </td></tr><tr class="SGroup"><td class=SEntry><a href="#Events" >Events</a></td><td class=SDescription></td></tr><tr class="SEvent SIndent1 SMarked"><td class=SEntry><a href="#window.onhashchange" >window.<wbr>onhashchange</a></td><td class=SDescription>Fired when document.location.hash changes. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Functions"></a>Functions</h3></div></div>
-<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="jQuery.history.pushState"></a>jQuery.<wbr>history.<wbr>pushState</h3><div class=CBody><p>Adds a &lsquo;state&rsquo; into the browser history at the current position, setting location.hash and triggering any bound <a href="#window.onhashchange" class=LEvent id=link11 onMouseOver="ShowTip(event, 'tt1', 'link11')" onMouseOut="HideTip('tt1')">window.onhashchange</a> event callbacks (provided the new state is different than the previous state).</p><p>If no arguments are passed, an empty state is created, which is just a shortcut for $.history.pushState( {}, 2 ).</p><h4 class=CHeading>Usage</h4><blockquote><pre>jQuery.history.pushState( [ params [, merge_mode ] ] );</pre></blockquote><h4 class=CHeading>Arguments</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>params</td><td class=CDLDescription>(String) A serialized params string or a hash string beginning with # to merge into location.hash.</td></tr><tr><td class=CDLEntry>params</td><td class=CDLDescription>(Object) A params object to merge into location.hash.</td></tr><tr><td class=CDLEntry>merge_mode</td><td class=CDLDescription>(Number) Merge behavior defaults to 0 if merge_mode is not specified (unless a hash string beginning with # is specified, in which case merge behavior defaults to 2), and is as-follows:</td></tr></table><ul><li>0: params in the params argument will override any params in the current state.</li><li>1: any params in the current state will override params in the params argument.</li><li>2: params argument will completely replace current state.</li></ul><h4 class=CHeading>Returns</h4><p>Nothing.</p><h4 class=CHeading>Additional Notes</h4><ul><li>Setting an empty state may cause the browser to scroll.</li><li>Unlike the fragment and querystring methods, if a hash string beginning with # is specified as the params agrument, merge_mode defaults to 2.</li></ul></div></div></div>
+<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="jQuery.bbq.pushState"></a>jQuery.<wbr>bbq.<wbr>pushState</h3><div class=CBody><p>Adds a &lsquo;state&rsquo; into the browser history at the current position, setting location.hash and triggering any bound <a href="#window.onhashchange" class=LEvent id=link11 onMouseOver="ShowTip(event, 'tt1', 'link11')" onMouseOut="HideTip('tt1')">window.onhashchange</a> event callbacks (provided the new state is different than the previous state).</p><p>If no arguments are passed, an empty state is created, which is just a shortcut for jQuery.bbq.pushState( {}, 2 ).</p><h4 class=CHeading>Usage</h4><blockquote><pre>jQuery.bbq.pushState( [ params [, merge_mode ] ] );</pre></blockquote><h4 class=CHeading>Arguments</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>params</td><td class=CDLDescription>(String) A serialized params string or a hash string beginning with # to merge into location.hash.</td></tr><tr><td class=CDLEntry>params</td><td class=CDLDescription>(Object) A params object to merge into location.hash.</td></tr><tr><td class=CDLEntry>merge_mode</td><td class=CDLDescription>(Number) Merge behavior defaults to 0 if merge_mode is not specified (unless a hash string beginning with # is specified, in which case merge behavior defaults to 2), and is as-follows:</td></tr></table><ul><li>0: params in the params argument will override any params in the current state.</li><li>1: any params in the current state will override params in the params argument.</li><li>2: params argument will completely replace current state.</li></ul><h4 class=CHeading>Returns</h4><p>Nothing.</p><h4 class=CHeading>Additional Notes</h4><ul><li>Setting an empty state may cause the browser to scroll.</li><li>Unlike the fragment and querystring methods, if a hash string beginning with # is specified as the params agrument, merge_mode defaults to 2.</li></ul></div></div></div>
-<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="jQuery.history.getState"></a>jQuery.<wbr>history.<wbr>getState</h3><div class=CBody><p>Retrieves the current &lsquo;state&rsquo; 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.</p><h4 class=CHeading>Usage</h4><blockquote><pre>jQuery.history.getState( [ key ] [, coerce ] );</pre></blockquote><h4 class=CHeading>Arguments</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>key</td><td class=CDLDescription>(String) An optional state key for which to return a value.</td></tr><tr><td class=CDLEntry>coerce</td><td class=CDLDescription>(Boolean) If true, coerces any numbers or true, false, null, and undefined to their actual value.&nbsp; Defaults to false.</td></tr></table><h4 class=CHeading>Returns</h4><p>(Anything) If key is passed, returns the value corresponding with that key in the location.hash &lsquo;state&rsquo;, or undefined.&nbsp; If not, an object representing the entire &lsquo;state&rsquo; is returned.</p></div></div></div>
+<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="jQuery.bbq.getState"></a>jQuery.<wbr>bbq.<wbr>getState</h3><div class=CBody><p>Retrieves the current &lsquo;state&rsquo; 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.</p><h4 class=CHeading>Usage</h4><blockquote><pre>jQuery.bbq.getState( [ key ] [, coerce ] );</pre></blockquote><h4 class=CHeading>Arguments</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>key</td><td class=CDLDescription>(String) An optional state key for which to return a value.</td></tr><tr><td class=CDLEntry>coerce</td><td class=CDLDescription>(Boolean) If true, coerces any numbers or true, false, null, and undefined to their actual value.&nbsp; Defaults to false.</td></tr></table><h4 class=CHeading>Returns</h4><p>(Anything) If key is passed, returns the value corresponding with that key in the location.hash &lsquo;state&rsquo;, or undefined.&nbsp; If not, an object representing the entire &lsquo;state&rsquo; is returned.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Properties"></a>Properties</h3></div></div>
-<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="jQuery.history.pollDelay"></a>jQuery.<wbr>history.<wbr>pollDelay</h3><div class=CBody><p>The numeric speed (in milliseconds) at which the <a href="#window.onhashchange" class=LEvent id=link12 onMouseOver="ShowTip(event, 'tt1', 'link12')" onMouseOut="HideTip('tt1')">window.onhashchange</a> polling loop polls.&nbsp; Defaults to 100.</p></div></div></div>
+<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="jQuery.bbq.pollDelay"></a>jQuery.<wbr>bbq.<wbr>pollDelay</h3><div class=CBody><p>The numeric interval (in milliseconds) at which the <a href="#window.onhashchange" class=LEvent id=link12 onMouseOver="ShowTip(event, 'tt1', 'link12')" onMouseOut="HideTip('tt1')">window.onhashchange</a> polling loop executes.&nbsp; Defaults to 100.</p></div></div></div>
<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Events"></a>Events</h3></div></div>
-<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="window.onhashchange"></a>window.<wbr>onhashchange</h3><div class=CBody><p>Fired when document.location.hash changes.&nbsp; In browsers that support it, the native window.onhashchange event is used (IE8, FF3.6), otherwise a polling loop is initialized, running every <a href="#jQuery.history.pollDelay" class=LProperty id=link13 onMouseOver="ShowTip(event, 'tt7', 'link13')" onMouseOut="HideTip('tt7')">jQuery.history.pollDelay</a> milliseconds to see if the hash has changed.&nbsp; In IE 6 and 7, a hidden IFRAME is created to allow hash-based history to work.</p><h4 class=CHeading>Usage in 1.4pre and newer</h4><p>In 1.4pre and newer, the event object that is passed into the callback is augmented with an additional e.fragment property that contains the current document location.hash state as a string, as well as an e.getState method.</p><p>e.fragment is equivalent to the output of <a href="#jQuery.param.fragment" class=LFunction id=link14 onMouseOver="ShowTip(event, 'tt8', 'link14')" onMouseOut="HideTip('tt8')">jQuery.param.fragment</a>, and e.getState() is equivalent to <a href="#jQuery.history.getState" class=LFunction id=link15 onMouseOver="ShowTip(event, 'tt9', 'link15')" onMouseOut="HideTip('tt9')">jQuery.history.getState</a>, except that they refer to the event-specific state value stored in the event object, instead of the current document.location, allowing the event object to be referenced later, even if document.location has changed.</p><blockquote><pre>$(window).bind( 'hashchange', function(e) {
+<div class="CEvent"><div class=CTopic><h3 class=CTitle><a name="window.onhashchange"></a>window.<wbr>onhashchange</h3><div class=CBody><p>Fired when document.location.hash changes.&nbsp; In browsers that support it, the native window.onhashchange event is used (IE8, FF3.6), otherwise a polling loop is initialized, running every <a href="#jQuery.bbq.pollDelay" class=LProperty id=link13 onMouseOver="ShowTip(event, 'tt7', 'link13')" onMouseOut="HideTip('tt7')">jQuery.bbq.pollDelay</a> milliseconds to see if the hash has changed.&nbsp; In IE 6 and 7, a hidden IFRAME is created to allow hash-based history to work.</p><h4 class=CHeading>Usage in 1.4pre and newer</h4><p>In 1.4pre and newer, the event object that is passed into the callback is augmented with an additional e.fragment property that contains the current document location.hash state as a string, as well as an e.getState method.</p><p>e.fragment is equivalent to the output of <a href="#jQuery.param.fragment" class=LFunction id=link14 onMouseOver="ShowTip(event, 'tt8', 'link14')" onMouseOut="HideTip('tt8')">jQuery.param.fragment</a>, and e.getState() is equivalent to <a href="#jQuery.bbq.getState" class=LFunction id=link15 onMouseOver="ShowTip(event, 'tt9', 'link15')" onMouseOut="HideTip('tt9')">jQuery.bbq.getState</a>, except that they refer to the event-specific state value stored in the event object, instead of the current document.location, allowing the event object to be referenced later, even if document.location has changed.</p><blockquote><pre>$(window).bind( 'hashchange', function(e) {
var hash_str = e.fragment,
param_obj = e.getState(),
param_val = e.getState( 'param_name' ),
param_val_coerced = e.getState( 'param_name', true );
...
-});</pre></blockquote><h4 class=CHeading>Usage in 1.3.2</h4><p>In 1.3.2, the event object is unable to be augmented as in 1.4pre+, so the fragment state isn&rsquo;t bound to the event object and must instead be parsed using the <a href="#jQuery.param.fragment" class=LFunction id=link16 onMouseOver="ShowTip(event, 'tt8', 'link16')" onMouseOut="HideTip('tt8')">jQuery.param.fragment</a> and <a href="#jQuery.history.getState" class=LFunction id=link17 onMouseOver="ShowTip(event, 'tt9', 'link17')" onMouseOut="HideTip('tt9')">jQuery.history.getState</a> methods.</p><blockquote><pre>$(window).bind( 'hashchange', function(e) {
+});</pre></blockquote><h4 class=CHeading>Usage in 1.3.2</h4><p>In 1.3.2, the event object is unable to be augmented as in 1.4pre+, so the fragment state isn&rsquo;t bound to the event object and must instead be parsed using the <a href="#jQuery.param.fragment" class=LFunction id=link16 onMouseOver="ShowTip(event, 'tt8', 'link16')" onMouseOut="HideTip('tt8')">jQuery.param.fragment</a> and <a href="#jQuery.bbq.getState" class=LFunction id=link17 onMouseOver="ShowTip(event, 'tt9', 'link17')" onMouseOut="HideTip('tt9')">jQuery.bbq.getState</a> methods.</p><blockquote><pre>$(window).bind( 'hashchange', function(e) {
var hash_str = $.param.fragment(),
- param_obj = $.history.getState(),
- param_val = $.history.getState( 'param_name' ),
- param_val_coerced = $.history.getState( 'param_name', true );
+ param_obj = $.bbq.getState(),
+ param_val = $.bbq.getState( 'param_name' ),
+ param_val_coerced = $.bbq.getState( 'param_name', true );
...
});</pre></blockquote><h4 class=CHeading>Additional Notes</h4><ul><li>The polling loop and iframe are not created until at least one callback is actually bound to &lsquo;hashchange&rsquo;.</li><li>If you need the bound callback(s) to execute immediately, in cases where the page &lsquo;state&rsquo; exists on page load (via bookmark or page refresh, for example) use $(window).trigger( &lsquo;hashchange&rsquo; );</li></ul></div></div></div>
@@ -92,7 +94,7 @@
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt1"><div class=CEvent>Fired when document.location.hash changes. </div></div><div class=CToolTip id="tt2"><div class=CFunction>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. </div></div><div class=CToolTip id="tt3"><div class=CFunction>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. </div></div><div class=CToolTip id="tt4"><div class=CFunction>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.</div></div><div class=CToolTip id="tt5"><div class=CFunction>Get the internal &ldquo;Default URL attribute per tag&rdquo; list, or augment the list with additional tag-attribute pairs, in case the defaults are insufficient.</div></div><div class=CToolTip id="tt6"><div class=CFunction>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.</div></div><div class=CToolTip id="tt7"><div class=CProperty>The numeric speed (in milliseconds) at which the window.onhashchange polling loop polls. </div></div><div class=CToolTip id="tt8"><div class=CFunction>Retrieve the fragment (hash) from a URL or if no arguments are passed, the current document.location.</div></div><div class=CToolTip id="tt9"><div class=CFunction>Retrieves the current &lsquo;state&rsquo; 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.</div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt1"><div class=CEvent>Fired when document.location.hash changes. </div></div><div class=CToolTip id="tt2"><div class=CFunction>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. </div></div><div class=CToolTip id="tt3"><div class=CFunction>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. </div></div><div class=CToolTip id="tt4"><div class=CFunction>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.</div></div><div class=CToolTip id="tt5"><div class=CFunction>Get the internal &ldquo;Default URL attribute per tag&rdquo; list, or augment the list with additional tag-attribute pairs, in case the defaults are insufficient.</div></div><div class=CToolTip id="tt6"><div class=CFunction>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.</div></div><div class=CToolTip id="tt7"><div class=CProperty>The numeric interval (in milliseconds) at which the window.onhashchange polling loop executes. </div></div><div class=CToolTip id="tt8"><div class=CFunction>Retrieve the fragment (hash) from a URL or if no arguments are passed, the current document.location.</div></div><div class=CToolTip id="tt9"><div class=CFunction>Retrieves the current &lsquo;state&rsquo; 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.</div></div><!--END_ND_TOOLTIPS-->
View
2  docs/index/Files.html
@@ -13,7 +13,7 @@
<div id=Index><div class=IPageTitle>File Index</div><div class=INavigationBar>$#! &middot; 0-9 &middot; A &middot; B &middot; C &middot; D &middot; E &middot; F &middot; G &middot; H &middot; I &middot; <a href="#J">J</a> &middot; K &middot; L &middot; M &middot; N &middot; O &middot; P &middot; Q &middot; R &middot; S &middot; T &middot; U &middot; V &middot; W &middot; X &middot; Y &middot; Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="J"></a>J</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery_BBQ:Back_ButtonQuery_Library" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')" class=ISymbol>jQuery BBQ:<wbr>Back Button&amp;Query Library</a></td></tr></table>
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt1"><div class=CFile><b>Version: 0.1pre, Last updated: 9/28/2009</b></div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt1"><div class=CFile><b>Version: 0.1pre, Last updated: 9/30/2009</b></div></div><!--END_ND_TOOLTIPS-->
</div><!--Index-->
View
2  docs/index/Functions.html
@@ -11,7 +11,7 @@
-<div id=Index><div class=IPageTitle>Function Index</div><div class=INavigationBar>$#! &middot; 0-9 &middot; A &middot; B &middot; C &middot; <a href="#D">D</a> &middot; <a href="#E">E</a> &middot; <a href="#F">F</a> &middot; <a href="#G">G</a> &middot; H &middot; I &middot; J &middot; K &middot; L &middot; M &middot; N &middot; O &middot; <a href="#P">P</a> &middot; <a href="#Q">Q</a> &middot; R &middot; S &middot; T &middot; U &middot; V &middot; W &middot; X &middot; Y &middot; Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="D"></a>D</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.deparam" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')" class=ISymbol>deparam</a>, <span class=IParent>jQuery</span></td></tr><tr><td class=IHeading><a name="E"></a>E</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.elemUrlAttr" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')" class=ISymbol>elemUrlAttr</a>, <span class=IParent>jQuery</span></td></tr><tr><td class=IHeading><a name="F"></a>F</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>fragment</span><div class=ISubIndex><a href="../files/jquery-ba-bbq-js.html#jQuery.deparam.fragment" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')" class=IParent>jQuery.<wbr>deparam</a><a href="../files/jquery-ba-bbq-js.html#jQuery.fn.fragment" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')" class=IParent>jQuery.fn</a><a href="../files/jquery-ba-bbq-js.html#jQuery.param.fragment" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')" class=IParent>jQuery.<wbr>param</a></div></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.param.fragment(build_url)" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')" class=ISymbol>fragment(build url)</a>, <span class=IParent>jQuery.<wbr>param</span></td></tr><tr><td class=IHeading><a name="G"></a>G</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.history.getState" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')" class=ISymbol>getState</a>, <span class=IParent>jQuery.<wbr>history</span></td></tr><tr><td class=IHeading><a name="P"></a>P</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.history.pushState" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')" class=ISymbol>pushState</a>, <span class=IParent>jQuery.<wbr>history</span></td></tr><tr><td class=IHeading><a name="Q"></a>Q</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>querystring</span><div class=ISubIndex><a href="../files/jquery-ba-bbq-js.html#jQuery.deparam.querystring" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')" class=IParent>jQuery.<wbr>deparam</a><a href="../files/jquery-ba-bbq-js.html#jQuery.fn.querystring" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')" class=IParent>jQuery.fn</a><a href="../files/jquery-ba-bbq-js.html#jQuery.param.querystring" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')" class=IParent>jQuery.<wbr>param</a></div></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.param.querystring(build_url)" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')" class=ISymbol>querystring(build url)</a>, <span class=IParent>jQuery.<wbr>param</span></td></tr></table>
+<div id=Index><div class=IPageTitle>Function Index</div><div class=INavigationBar>$#! &middot; 0-9 &middot; A &middot; B &middot; C &middot; <a href="#D">D</a> &middot; <a href="#E">E</a> &middot; <a href="#F">F</a> &middot; <a href="#G">G</a> &middot; H &middot; I &middot; J &middot; K &middot; L &middot; M &middot; N &middot; O &middot; <a href="#P">P</a> &middot; <a href="#Q">Q</a> &middot; R &middot; S &middot; T &middot; U &middot; V &middot; W &middot; X &middot; Y &middot; Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="D"></a>D</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.deparam" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')" class=ISymbol>deparam</a>, <span class=IParent>jQuery</span></td></tr><tr><td class=IHeading><a name="E"></a>E</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.elemUrlAttr" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')" class=ISymbol>elemUrlAttr</a>, <span class=IParent>jQuery</span></td></tr><tr><td class=IHeading><a name="F"></a>F</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>fragment</span><div class=ISubIndex><a href="../files/jquery-ba-bbq-js.html#jQuery.deparam.fragment" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')" class=IParent>jQuery.<wbr>deparam</a><a href="../files/jquery-ba-bbq-js.html#jQuery.fn.fragment" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')" class=IParent>jQuery.fn</a><a href="../files/jquery-ba-bbq-js.html#jQuery.param.fragment" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')" class=IParent>jQuery.<wbr>param</a></div></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.param.fragment(build_url)" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')" class=ISymbol>fragment(build url)</a>, <span class=IParent>jQuery.<wbr>param</span></td></tr><tr><td class=IHeading><a name="G"></a>G</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.bbq.getState" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')" class=ISymbol>getState</a>, <span class=IParent>jQuery.bbq</span></td></tr><tr><td class=IHeading><a name="P"></a>P</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.bbq.pushState" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')" class=ISymbol>pushState</a>, <span class=IParent>jQuery.bbq</span></td></tr><tr><td class=IHeading><a name="Q"></a>Q</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>querystring</span><div class=ISubIndex><a href="../files/jquery-ba-bbq-js.html#jQuery.deparam.querystring" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')" class=IParent>jQuery.<wbr>deparam</a><a href="../files/jquery-ba-bbq-js.html#jQuery.fn.querystring" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')" class=IParent>jQuery.fn</a><a href="../files/jquery-ba-bbq-js.html#jQuery.param.querystring" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')" class=IParent>jQuery.<wbr>param</a></div></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.param.querystring(build_url)" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')" class=ISymbol>querystring(build url)</a>, <span class=IParent>jQuery.<wbr>param</span></td></tr></table>
<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CFunction>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.</div></div><!--END_ND_TOOLTIPS-->
View
20 docs/index/General.html
@@ -11,21 +11,21 @@
-<div id=Index><div class=IPageTitle>Index</div><div class=INavigationBar>$#! &middot; 0-9 &middot; A &middot; B &middot; C &middot; <a href="#D">D</a> &middot; <a href="#E">E</a> &middot; <a href="#F">F</a> &middot; <a href="#G">G</a> &middot; <a href="#H">H</a> &middot; I &middot; <a href="#J">J</a> &middot; K &middot; <a href="#L">L</a> &middot; M &middot; N &middot; <a href="#O">O</a> &middot; <a href="#P">P</a> &middot; <a href="#Q">Q</a> &middot; <a href="#R">R</a> &middot; <a href="#S">S</a> &middot; T &middot; U &middot; V &middot; W &middot; X &middot; Y &middot; Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="D"></a>D</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.deparam" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')" class=ISymbol>deparam</a>, <span class=IParent>jQuery</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Deparam(from_string)" class=ISymbol>Deparam(from string)</a></td></tr><tr><td class=IHeading><a name="E"></a>E</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Element_manipulation" class=ISymbol>Element manipulation</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.elemUrlAttr" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')" class=ISymbol>elemUrlAttr</a>, <span class=IParent>jQuery</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Events" class=ISymbol>Events</a></td></tr><tr><td class=IHeading><a name="F"></a>F</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>fragment</span><div class=ISubIndex><a href="../files/jquery-ba-bbq-js.html#jQuery.deparam.fragment" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')" class=IParent>jQuery.<wbr>deparam</a><a href="../files/jquery-ba-bbq-js.html#jQuery.fn.fragment" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')" class=IParent>jQuery.fn</a><a href="../files/jquery-ba-bbq-js.html#jQuery.param.fragment" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')" class=IParent>jQuery.<wbr>param</a></div></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.param.fragment(build_url)" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')" class=ISymbol>fragment(build url)</a>, <span class=IParent>jQuery.<wbr>param</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Functions" class=ISymbol>Functions</a></td></tr><tr><td class=IHeading><a name="G"></a>G</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.history.getState" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')" class=ISymbol>getState</a>, <span class=IParent>jQuery.<wbr>history</span></td></tr><tr><td class=IHeading><a name="H"></a>H</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#History,hashchange_event" class=ISymbol>History,hashchange event</a></td></tr><tr><td class=IHeading><a name="J"></a>J</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery_BBQ:Back_ButtonQuery_Library" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')" class=ISymbol>jQuery BBQ:<wbr>Back Button&amp;Query Library</a></td></tr><tr><td class=IHeading><a name="L"></a>L</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#License" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')" class=ISymbol>License</a></td></tr><tr><td class=IHeading><a name="O"></a>O</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#window.onhashchange" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')" class=ISymbol>onhashchange</a>, <span class=IParent>window</span></td></tr><tr><td class=IHeading><a name="P"></a>P</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Param(to_string)" class=ISymbol>Param(to string)</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.history.pollDelay" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')" class=ISymbol>pollDelay</a>, <span class=IParent>jQuery.<wbr>history</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Properties" class=ISymbol>Properties</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.history.pushState" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')" class=ISymbol>pushState</a>, <span class=IParent>jQuery.<wbr>history</span></td></tr><tr><td class=IHeading><a name="Q"></a>Q</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>querystring</span><div class=ISubIndex><a href="../files/jquery-ba-bbq-js.html#jQuery.deparam.querystring" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')" class=IParent>jQuery.<wbr>deparam</a><a href="../files/jquery-ba-bbq-js.html#jQuery.fn.querystring" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')" class=IParent>jQuery.fn</a><a href="../files/jquery-ba-bbq-js.html#jQuery.param.querystring" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')" class=IParent>jQuery.<wbr>param</a></div></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.param.querystring(build_url)" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')" class=ISymbol>querystring(build url)</a>, <span class=IParent>jQuery.<wbr>param</span></td></tr><tr><td class=IHeading><a name="R"></a>R</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Revision_History" class=ISymbol>Revision History</a></td></tr><tr><td class=IHeading><a name="S"></a>S</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Support_and_Testing" id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')" class=ISymbol>Support and Testing</a></td></tr></table>
+<div id=Index><div class=IPageTitle>Index</div><div class=INavigationBar>$#! &middot; 0-9 &middot; A &middot; B &middot; C &middot; <a href="#D">D</a> &middot; <a href="#E">E</a> &middot; <a href="#F">F</a> &middot; <a href="#G">G</a> &middot; <a href="#H">H</a> &middot; I &middot; <a href="#J">J</a> &middot; K &middot; <a href="#L">L</a> &middot; M &middot; N &middot; <a href="#O">O</a> &middot; <a href="#P">P</a> &middot; <a href="#Q">Q</a> &middot; <a href="#R">R</a> &middot; <a href="#S">S</a> &middot; T &middot; U &middot; V &middot; W &middot; X &middot; Y &middot; Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="D"></a>D</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.deparam" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')" class=ISymbol>deparam</a>, <span class=IParent>jQuery</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Deparam(from_string)" class=ISymbol>Deparam(from string)</a></td></tr><tr><td class=IHeading><a name="E"></a>E</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Element_manipulation" class=ISymbol>Element manipulation</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.elemUrlAttr" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')" class=ISymbol>elemUrlAttr</a>, <span class=IParent>jQuery</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Events" class=ISymbol>Events</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Examples" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')" class=ISymbol>Examples</a></td></tr><tr><td class=IHeading><a name="F"></a>F</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>fragment</span><div class=ISubIndex><a href="../files/jquery-ba-bbq-js.html#jQuery.deparam.fragment" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')" class=IParent>jQuery.<wbr>deparam</a><a href="../files/jquery-ba-bbq-js.html#jQuery.fn.fragment" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')" class=IParent>jQuery.fn</a><a href="../files/jquery-ba-bbq-js.html#jQuery.param.fragment" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')" class=IParent>jQuery.<wbr>param</a></div></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.param.fragment(build_url)" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')" class=ISymbol>fragment(build url)</a>, <span class=IParent>jQuery.<wbr>param</span></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Functions" class=ISymbol>Functions</a></td></tr><tr><td class=IHeading><a name="G"></a>G</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.bbq.getState" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')" class=ISymbol>getState</a>, <span class=IParent>jQuery.bbq</span></td></tr><tr><td class=IHeading><a name="H"></a>H</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#History,hashchange_event" class=ISymbol>History,hashchange event</a></td></tr><tr><td class=IHeading><a name="J"></a>J</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery_BBQ:Back_ButtonQuery_Library" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')" class=ISymbol>jQuery BBQ:<wbr>Back Button&amp;Query Library</a></td></tr><tr><td class=IHeading><a name="L"></a>L</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#License" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')" class=ISymbol>License</a></td></tr><tr><td class=IHeading><a name="O"></a>O</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#window.onhashchange" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')" class=ISymbol>onhashchange</a>, <span class=IParent>window</span></td></tr><tr><td class=IHeading><a name="P"></a>P</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Param(to_string)" class=ISymbol>Param(to string)</a></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.bbq.pollDelay" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')" class=ISymbol>pollDelay</a>, <span class=IParent>jQuery.bbq</span></td></tr><tr><td class=ISymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Properties" class=ISymbol>Properties</a></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.bbq.pushState" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')" class=ISymbol>pushState</a>, <span class=IParent>jQuery.bbq</span></td></tr><tr><td class=IHeading><a name="Q"></a>Q</td><td></td></tr><tr><td class=ISymbolPrefix id=IFirstSymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>querystring</span><div class=ISubIndex><a href="../files/jquery-ba-bbq-js.html#jQuery.deparam.querystring" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')" class=IParent>jQuery.<wbr>deparam</a><a href="../files/jquery-ba-bbq-js.html#jQuery.fn.querystring" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')" class=IParent>jQuery.fn</a><a href="../files/jquery-ba-bbq-js.html#jQuery.param.querystring" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')" class=IParent>jQuery.<wbr>param</a></div></td></tr><tr><td class=ISymbolPrefix id=ILastSymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.param.querystring(build_url)" id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')" class=ISymbol>querystring(build url)</a>, <span class=IParent>jQuery.<wbr>param</span></td></tr><tr><td class=IHeading><a name="R"></a>R</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Release_History" class=ISymbol>Release History</a></td></tr><tr><td class=IHeading><a name="S"></a>S</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#Support_and_Testing" id=link18 onMouseOver="ShowTip(event, 'tt18', 'link18')" onMouseOut="HideTip('tt18')" class=ISymbol>Support and Testing</a></td></tr></table>
<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CFunction>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.</div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt2"><div class=CFunction>Get the internal &ldquo;Default URL attribute per tag&rdquo; list, or augment the list with additional tag-attribute pairs, in case the defaults are insufficient.</div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt2"><div class=CFunction>Get the internal &ldquo;Default URL attribute per tag&rdquo; list, or augment the list with additional tag-attribute pairs, in case the defaults are insufficient.</div></div><div class=CToolTip id="tt3"><div class=CGeneric>These working examples, complete with fully commented code, illustrate a few ways in which this plugin can be used.</div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt3"><div class=CFunction>Parse the fragment (hash) from a URL or the current document.location, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</div></div><div class=CToolTip id="tt4"><div class=CFunction>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. </div></div><div class=CToolTip id="tt5"><div class=CFunction>Retrieve the fragment (hash) from a URL or if no arguments are passed, the current document.location.</div></div><div class=CToolTip id="tt6"><div class=CFunction>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.</div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt4"><div class=CFunction>Parse the fragment (hash) from a URL or the current document.location, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</div></div><div class=CToolTip id="tt5"><div class=CFunction>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. </div></div><div class=CToolTip id="tt6"><div class=CFunction>Retrieve the fragment (hash) from a URL or if no arguments are passed, the current document.location.</div></div><div class=CToolTip id="tt7"><div class=CFunction>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.</div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt7"><div class=CFunction>Retrieves the current &lsquo;state&rsquo; 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.</div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt8"><div class=CFunction>Retrieves the current &lsquo;state&rsquo; 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.</div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
@@ -33,23 +33,23 @@
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt8"><div class=CFile><b>Version: 0.1pre, Last updated: 9/28/2009</b></div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt9"><div class=CFile><b>Version: 0.1pre, Last updated: 9/30/2009</b></div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt9"><div class=CGeneric>Copyright &copy; 2009 &ldquo;Cowboy&rdquo; Ben Alman, Licensed under the MIT license. </div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt10"><div class=CGeneric>Copyright &copy; 2009 &ldquo;Cowboy&rdquo; Ben Alman, Licensed under the MIT license. </div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt10"><div class=CEvent>Fired when document.location.hash changes. </div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt11"><div class=CEvent>Fired when document.location.hash changes. </div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt11"><div class=CProperty>The numeric speed (in milliseconds) at which the window.onhashchange polling loop polls. </div></div><div class=CToolTip id="tt12"><div class=CFunction>Adds a &lsquo;state&rsquo; into the browser history at the current position, setting location.hash and triggering any bound window.onhashchange event callbacks (provided the new state is different than the previous state).</div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt12"><div class=CProperty>The numeric interval (in milliseconds) at which the window.onhashchange polling loop executes. </div></div><div class=CToolTip id="tt13"><div class=CFunction>Adds a &lsquo;state&rsquo; into the browser history at the current position, setting location.hash and triggering any bound window.onhashchange event callbacks (provided the new state is different than the previous state).</div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt13"><div class=CFunction>Parse the query string from a URL or the current document.location, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</div></div><div class=CToolTip id="tt14"><div class=CFunction>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. </div></div><div class=CToolTip id="tt15"><div class=CFunction>Retrieve the query string from a URL or if no arguments are passed, the current document.location.</div></div><div class=CToolTip id="tt16"><div class=CFunction>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.</div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt14"><div class=CFunction>Parse the query string from a URL or the current document.location, deserializing it into an object, optionally coercing numbers, booleans, null and undefined values.</div></div><div class=CToolTip id="tt15"><div class=CFunction>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. </div></div><div class=CToolTip id="tt16"><div class=CFunction>Retrieve the query string from a URL or if no arguments are passed, the current document.location.</div></div><div class=CToolTip id="tt17"><div class=CFunction>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.</div></div><!--END_ND_TOOLTIPS-->
<!--START_ND_TOOLTIPS-->
@@ -57,7 +57,7 @@
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt17"><div class=CGeneric>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).</div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt18"><div class=CGeneric>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).</div></div><!--END_ND_TOOLTIPS-->
</div><!--Index-->
View
4 docs/index/Properties.html
@@ -11,9 +11,9 @@
-<div id=Index><div class=IPageTitle>Property Index</div><div class=INavigationBar>$#! &middot; 0-9 &middot; A &middot; B &middot; C &middot; D &middot; E &middot; F &middot; G &middot; H &middot; I &middot; J &middot; K &middot; L &middot; M &middot; N &middot; O &middot; <a href="#P">P</a> &middot; Q &middot; R &middot; S &middot; T &middot; U &middot; V &middot; W &middot; X &middot; Y &middot; Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="P"></a>P</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.history.pollDelay" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')" class=ISymbol>pollDelay</a>, <span class=IParent>jQuery.<wbr>history</span></td></tr></table>
+<div id=Index><div class=IPageTitle>Property Index</div><div class=INavigationBar>$#! &middot; 0-9 &middot; A &middot; B &middot; C &middot; D &middot; E &middot; F &middot; G &middot; H &middot; I &middot; J &middot; K &middot; L &middot; M &middot; N &middot; O &middot; <a href="#P">P</a> &middot; Q &middot; R &middot; S &middot; T &middot; U &middot; V &middot; W &middot; X &middot; Y &middot; Z</div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="P"></a>P</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.bbq.pollDelay" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')" class=ISymbol>pollDelay</a>, <span class=IParent>jQuery.bbq</span></td></tr></table>
<!--START_ND_TOOLTIPS-->
-<div class=CToolTip id="tt1"><div class=CProperty>The numeric speed (in milliseconds) at which the window.onhashchange polling loop polls. </div></div><!--END_ND_TOOLTIPS-->
+<div class=CToolTip id="tt1"><div class=CProperty>The numeric interval (in milliseconds) at which the window.onhashchange polling loop executes. </div></div><!--END_ND_TOOLTIPS-->
</div><!--Index-->
View
BIN  docs/nd/Data/ConfigFileInfo.nd
Binary file not shown
View
4 docs/nd/Data/FileInfo.nd
@@ -1,4 +1,4 @@
1.4
JavaScript
-/srv/projects/jquery-bbq/jquery.ba-bbq.min.js 1254194615 0 /srv/projects/jquery-bbq/jquery.ba-bbq.min.js
-/srv/projects/jquery-bbq/jquery.ba-bbq.js 1254194346 1 jQuery BBQ: Back Button & Query Library
+/srv/projects/jquery-bbq/jquery.ba-bbq.min.js 1254316067 0 /srv/projects/jquery-bbq/jquery.ba-bbq.min.js
+/srv/projects/jquery-bbq/jquery.ba-bbq.js 1254316021 1 jQuery BBQ: Back Button & Query Library
View
BIN  docs/nd/Data/SymbolTable.nd
Binary file not shown
View
2  docs/search/FunctionsG.html
@@ -11,7 +11,7 @@
-<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_getState><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.history.getState" target=_parent class=ISymbol>getState</a>, <span class=IParent>jQuery.<wbr>history</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
+<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_getState><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.bbq.getState" target=_parent class=ISymbol>getState</a>, <span class=IParent>jQuery.bbq</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");
View
2  docs/search/FunctionsP.html
@@ -11,7 +11,7 @@
-<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_pushState><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.history.pushState" target=_parent class=ISymbol>pushState</a>, <span class=IParent>jQuery.<wbr>history</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
+<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_pushState><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.bbq.pushState" target=_parent class=ISymbol>pushState</a>, <span class=IParent>jQuery.bbq</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");
View
2  docs/search/GeneralE.html
@@ -11,7 +11,7 @@
-<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_Element_spcmanipulation><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#Element_manipulation" target=_parent class=ISymbol>Element manipulation</a></div></div><div class=SRResult id=SR_elemUrlAttr><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.elemUrlAttr" target=_parent class=ISymbol>elemUrlAttr</a>, <span class=IParent>jQuery</span></div></div><div class=SRResult id=SR_Events><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#Events" target=_parent class=ISymbol>Events</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
+<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_Element_spcmanipulation><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#Element_manipulation" target=_parent class=ISymbol>Element manipulation</a></div></div><div class=SRResult id=SR_elemUrlAttr><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.elemUrlAttr" target=_parent class=ISymbol>elemUrlAttr</a>, <span class=IParent>jQuery</span></div></div><div class=SRResult id=SR_Events><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#Events" target=_parent class=ISymbol>Events</a></div></div><div class=SRResult id=SR_Examples><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#Examples" target=_parent class=ISymbol>Examples</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");
View
2  docs/search/GeneralG.html
@@ -11,7 +11,7 @@
-<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_getState><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.history.getState" target=_parent class=ISymbol>getState</a>, <span class=IParent>jQuery.<wbr>history</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
+<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_getState><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.bbq.getState" target=_parent class=ISymbol>getState</a>, <span class=IParent>jQuery.bbq</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");
View
2  docs/search/GeneralP.html
@@ -11,7 +11,7 @@
-<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_Param_lpato_spcstring_rpa><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#Param(to_string)" target=_parent class=ISymbol>Param(to string)</a></div></div><div class=SRResult id=SR_pollDelay><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.history.pollDelay" target=_parent class=ISymbol>pollDelay</a>, <span class=IParent>jQuery.<wbr>history</span></div></div><div class=SRResult id=SR_Properties><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#Properties" target=_parent class=ISymbol>Properties</a></div></div><div class=SRResult id=SR_pushState><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.history.pushState" target=_parent class=ISymbol>pushState</a>, <span class=IParent>jQuery.<wbr>history</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
+<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_Param_lpato_spcstring_rpa><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#Param(to_string)" target=_parent class=ISymbol>Param(to string)</a></div></div><div class=SRResult id=SR_pollDelay><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.bbq.pollDelay" target=_parent class=ISymbol>pollDelay</a>, <span class=IParent>jQuery.bbq</span></div></div><div class=SRResult id=SR_Properties><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#Properties" target=_parent class=ISymbol>Properties</a></div></div><div class=SRResult id=SR_pushState><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.bbq.pushState" target=_parent class=ISymbol>pushState</a>, <span class=IParent>jQuery.bbq</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");
View
2  docs/search/GeneralR.html
@@ -11,7 +11,7 @@
-<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_Revision_spcHistory><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#Revision_History" target=_parent class=ISymbol>Revision History</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
+<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_Release_spcHistory><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#Release_History" target=_parent class=ISymbol>Release History</a></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");
View
2  docs/search/PropertiesP.html
@@ -11,7 +11,7 @@
-<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_pollDelay><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.history.pollDelay" target=_parent class=ISymbol>pollDelay</a>, <span class=IParent>jQuery.<wbr>history</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
+<div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_pollDelay><div class=IEntry><a href="../files/jquery-ba-bbq-js.html#jQuery.bbq.pollDelay" target=_parent class=ISymbol>pollDelay</a>, <span class=IParent>jQuery.bbq</span></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--
document.getElementById("Loading").style.display="none";
document.getElementById("NoMatches").style.display="none";
var searchResults = new SearchResults("searchResults", "HTML");
View
160 examples/back-button-test/index.php
@@ -0,0 +1,160 @@
+<?PHP
+
+include "../index.php";
+
+$shell['title2'] = "Back Button Test";
+
+$shell['h2'] = 'Wanna see a strange issue in Chrome?';
+
+// ========================================================================== //
+// SUBHEADER
+// ========================================================================== //
+
+ob_start();
+?>
+ <a href="http://benalman.com/news/2009/09/chrome-browser-history-buggine/">Read more about the issue here!</a>
+<?
+$shell['h3'] = ob_get_contents();
+ob_end_clean();
+
+// ========================================================================== //
+// SCRIPT
+// ========================================================================== //
+
+ob_start();
+?>
+
+var delay = 250;
+
+// Set the browser title.
+function set_title( i ) {
+ document.title = document.title.replace( /\s*\d*$/, '' ) + ' ' + i;
+}
+
+// Add new history entries by changing document.location.hash, in an
+// asynchronous loop.
+function add_history_entries( start, end ) {
+ (function loopy(){
+ document.location.hash = '#' + start;
+ set_title( start );
+ ++start <= end && setTimeout( loopy, delay );
+ })();
+};
+
+// Go back in the history, in an asynchronous loop.
+function go_back( i ) {
+ (function loopy(){
+ window.history.go(-1);
+ --i && setTimeout( loopy, delay );
+ })();
+};
+
+// Some window.onhashchange stuff. Not really important here.
+function handler() {
+ var i = document.location.hash.replace( /^#/, '' );
+ set_title( i );
+};
+
+if ( window.addEventListener ) {
+ window.addEventListener( 'hashchange', handler, false );
+} else if ( window.attachEvent ) {
+ window.attachEvent( 'onhashchange', handler );
+}
+
+<?
+$shell['script'] = ob_get_contents();
+ob_end_clean();
+
+// ========================================================================== //
+// HTML HEAD ADDITIONAL
+// ========================================================================== //
+
+ob_start();
+?>
+<script type="text/javascript" language="javascript">
+
+<?= $shell['script']; ?>
+
+$(function(){
+
+ // Syntax highlighter.
+ SyntaxHighlighter.highlight();
+
+});
+
+</script>
+<style type="text/css" title="text/css">
+
+/*
+bg: #FDEBDC
+bg1: #FFD6AF
+bg2: #FFAB59
+orange: #FF7F00
+brown: #913D00
+lt. brown: #C4884F
+*/
+
+#page {
+ width: 700px;
+}
+
+</style>
+<?
+$shell['html_head'] = ob_get_contents();
+ob_end_clean();
+
+// ========================================================================== //
+// HTML BODY
+// ========================================================================== //
+
+ob_start();
+?>
+
+<p>First, open this page in a new window or tab, to clear any current window or tab history. Make your window wide enough so that you can see the full URL in the address bar, with some extra space left over.</p>
+
+<p>
+<a href="#" onclick="add_history_entries(1,10); return false;">Add ten history entries</a>
+</p>
+
+<ul>
+ <li>Hash should change from #1 .. #10, once every 250ms.</li>
+ <li>Browser title should change from "Back Button Test 1" .. "Back Button Test 10" at the same time.</li>
+ <li>Ten new history entries should be added.</li>
+ <li>Verify that pages "Back Button Test 0" .. "Back Button Test 9" are now in the history.</li>
+</ul>
+
+<p>
+<a href="#" onclick="go_back(10); return false;">Go back 10 times</a>
+</p>
+
+<ul>
+ <li>Hash should change from #10 .. #1 then disappear.</li>
+ <li>Browser title should only change from "Back Button Test 10" .. "Back Button Test 1" if window.onhashchange is supported.</li>
+ <li>History entries "Back Button Test 9" .. "Back Button Test 0" should be removed.</li>
+</ul>
+
+<h3>Notes</h3>
+
+<ul>
+ <li>No new history entries are added in IE6/7, so there's nothing to "go back" to.</li>
+ <li>Only IE8 and FF 3.6 support window.onhashchange.</li>
+ <li>Chrome 3 / Chromium randomly "loses" history entries. <a href="http://code.google.com/p/chromium/issues/detail?id=1016">Chromium issue 1016</a></li>
+</ul>
+
+<h3>The code</h3>
+
+<pre class="brush:js">
+<?= htmlspecialchars( $shell['script'] ); ?>
+</pre>
+
+<?
+$shell['html_body'] = ob_get_contents();
+ob_end_clean();
+
+// ========================================================================== //
+// DRAW SHELL
+// ========================================================================== //
+
+draw_shell();
+
+?>
View
11 examples/config.php
@@ -0,0 +1,11 @@
+<?PHP
+
+$shell['title1'] = "jQuery BBQ";
+$shell['link1'] = "http://benalman.com/projects/jquery-bbq-plugin/";
+
+$shell['jquery'] = 'jquery-1.3.2.js';
+//$shell['jquery'] = 'jquery-1.4pre.js';
+
+$shell['shBrush'] = array( 'JScript' );
+
+?>
View
BIN  examples/fragment-advanced/bbq.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
16 examples/fragment-advanced/burger.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Ben Alman &raquo; jQuery BBQ &raquo; Barbecue!</title>
+</head>
+<body>
+
+<img src="burger.jpg" width="400" height="300">
+<h1>Delicious Burgers</h1>
+<p>It might look like more food than you can eat, but trust me, you'll finish
+this burger. What, you say you're a vegetarian? Ok then, try the
+<a href="#chicken.html">Chicken</a>!</p>
+
+</body>
+</html>
View
BIN  examples/fragment-advanced/burger.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
16 examples/fragment-advanced/chicken.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Ben Alman &raquo; jQuery BBQ &raquo; Barbecue!</title>
+</head>
+<body>
+
+<img src="chicken.jpg" width="400" height="300">
+<h1>Mesquite Rub Chicken</h1>
+<p>This spicy meal might have you begging for "cerveza" but you'll be coming back for
+seconds! Still hungry? Why not wash that chicken down with a heaping plate of
+<a href="#kebabs.html">Kebabs</a>?</p>
+
+</body>
+</html>
View
BIN  examples/fragment-advanced/chicken.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
321 examples/fragment-advanced/index.php
@@ -0,0 +1,321 @@
+<?PHP
+
+include "../index.php";
+
+$shell['title2'] = "window.onhashchange » Advanced";
+
+$shell['h2'] = 'Cached AJAX + fragment + history + bookmarking = Tasty!';
+
+// ========================================================================== //
+// SUBHEADER
+// ========================================================================== //
+
+ob_start();
+?>
+ <a href="http://benalman.com/projects/jquery-bbq-plugin/">Home, Documentation, Source</a>
+<?
+$shell['h3'] = ob_get_contents();
+ob_end_clean();
+
+// ========================================================================== //
+// SCRIPT
+// ========================================================================== //
+
+ob_start();
+?>
+$(function(){
+
+ // For each .bbq widget, keep a data object containing a mapping of
+ // url-to-container for caching purposes.
+ $('.bbq').each(function(){
+ $(this).data( 'bbq', {
+ cache: {
+ // If url is '' (no fragment), display this div's content.
+ '': $(this).find('.bbq-default')
+ }
+ });
+ });
+
+ // For all links inside a .bbq widget, push the appropriate state onto the
+ // history when clicked.
+ $('.bbq a[href^=#]').live( 'click', function(e){
+ var state = {},
+
+ // Get the url from the link's href attribute, stripping any leading #.
+ url = $(this).attr( 'href' ).replace( /^#/, '' );
+
+ // Get the id of this .bbq widget.
+ id = $(this).closest( '.bbq' ).attr( 'id' );
+
+ // Set the state!
+ state[ id ] = url;
+ $.bbq.pushState( state );
+
+ // And finally, prevent the default link click behavior by returning false.
+ return false;
+ });
+
+ // Bind an event to window.onhashchange that, when the history state changes,
+ // iterates over all .bbq widgets, getting their appropriate url from the
+ // current state. If that .bbq widget's url has changed, display either our
+ // cached content or fetch new content to be displayed.
+ $(window).bind( 'hashchange', function (e) {
+
+ // Iterate over all .bbq widgets.
+ $('.bbq').each(function(){
+ var that = $(this),
+
+ // Get the stored data for this .bbq widget.
+ data = that.data( 'bbq' ),
+
+ // Get the url for this .bbq widget from the hash, based on the
+ // appropriate id property. In jQuery 1.4, you should use e.getState()
+ // instead of $.bbq.getState().
+ url = $.bbq.getState( that.attr( 'id' ) ) || '';
+
+ // If the url hasn't changed, do nothing and skip to the next .bbq widget.
+ if ( data.url === url ) { return; }
+
+ // Store the url for the next time around.
+ data.url = url;
+
+ // Remove .bbq-current class from any previously "current" link(s).
+ that.find( 'a.bbq-current' ).removeClass( 'bbq-current' );
+
+ // Hide any visible ajax content.
+ that.find( '.bbq-content' ).children( ':visible' ).hide();
+
+ // Add .bbq-current class to "current" nav link(s), only if url isn't empty.
+ url && that.find( 'a[href="#' + url + '"]' ).addClass( 'bbq-current' );
+
+ if ( data.cache[ url ] ) {
+ // Since the widget is already in the cache, it doesn't need to be
+ // created, so instead of creating it again, let's just show it!
+ data.cache[ url ].show();
+
+ } else {
+ // Show "loading" content while AJAX content loads.
+ that.find( '.bbq-loading' ).show();
+
+ // Create container for this url's content and store a reference to it in
+ // the cache.
+ data.cache[ url ] = $( '<div class="bbq-item"/>' )
+
+ // Append the content container to the parent container.
+ .appendTo( that.find( '.bbq-content' ) )
+
+ // Load external content via AJAX. Note that in order to keep this
+ // example streamlined, only the content in .infobox is shown. You'll
+ // want to change this based on your needs.
+ .load( url, function(){
+ // Content loaded, hide "loading" content.
+ that.find( '.bbq-loading' ).hide();
+ });
+ }
+ });
+ })
+
+ // Since the event is only triggered when the hash changes, we need to trigger
+ // the event now, to handle the hash the page may have loaded with.
+ $(window).trigger( 'hashchange' );
+
+});
+<?
+$shell['script'] = ob_get_contents();
+ob_end_clean();
+
+// ========================================================================== //
+// HTML HEAD ADDITIONAL
+// ========================================================================== //
+
+ob_start();
+?>
+<script type="text/javascript" src="../../jquery.ba-bbq.js"></script>
+<script type="text/javascript" language="javascript">
+
+<?= $shell['script']; ?>
+
+$(function(){
+
+ // Syntax highlighter.
+ SyntaxHighlighter.highlight();
+
+});
+
+</script>
+<style type="text/css" title="text/css">
+
+/*
+bg: #FDEBDC
+bg1: #FFD6AF
+bg2: #FFAB59
+orange: #FF7F00
+brown: #913D00
+lt. brown: #C4884F
+*/
+
+.bbq {
+ margin-bottom: 1em;
+ clear: both;
+}
+
+.bbq-content {
+ border: 1px solid #913D00;
+ border-top: none;
+ padding: 8px;
+ margin: 0;
+ float: left;
+ width: 682px;
+ height: 152px;
+ -moz-border-radius-bottomleft: 10px;
+ -moz-border-radius-bottomright: 10px;
+ -webkit-border-bottom-left-radius: 10px;
+ -webkit-border-bottom-right-radius: 10px;
+}
+
+.bbq-item h1 {
+ margin: 0;
+ font-size: 180%;
+}
+
+.bbq-item p {
+ font-size: 150%;
+ margin: 5px 0 0;
+}
+
+.bbq-item img {
+ border: 1px solid #913D00;
+ float: right;
+ margin-left: 10px;
+ width: 200px;
+ height: 150px;
+}
+
+a.bbq-current {
+ font-weight: 700;
+ text-decoration: none;
+}
+
+.bbq-nav {
+ padding: 0.3em;
+ color: #C4884F;
+ border: 1px solid #C4884F;
+ background: #FFD6AF;
+ clear: both;
+ text-align: center;
+}
+
+.bbq-nav-top {
+ margin-bottom: 0;
+ -moz-border-radius-topleft: 10px;
+ -moz-border-radius-topright: 10px;
+ -webkit-border-top-left-radius: 10px;
+ -webkit-border-top-right-radius: 10px;
+}
+
+#page {
+ width: 700px;
+}
+
+</style>
+<?
+$shell['html_head'] = ob_get_contents();
+ob_end_clean();
+
+// ========================================================================== //
+// HTML BODY
+// ========================================================================== //
+
+ob_start();
+?>
+
+<p>
+ With <a href="http://benalman.com/projects/jquery-bbq-plugin/">jQuery BBQ</a> you can keep track of state, history and allow bookmarking while dynamically modifying the page via AJAX and/or DHTML.. just click the links, use your browser's back and next buttons, reload the page.. and when you're done playing, check out the code!
+</p>
+
+<p>
+ In this example, document.location.hash is used to store a serialized data object representing the state of multiple "widgets". Due to the flexibility of $.bbq.pushState(), a widget doesn't need to know the state of any other widget to push a state change onto the history, only their state needs to be specifed and it will be merged in, creating a new history entry and a page state that is bookmarkable. Of course, if you only want to keep track of a single item on the page, you might want to check out the <a href="../fragment-basic/">basic window.onhashchange</a> example.
+</p>
+
+
+<h3>Navigation</h3>
+
+<p>This div.bbq widget has id "bbq1"</p>
+
+<div class="bbq" id="bbq1">
+ <div class="bbq-nav bbq-nav-top">
+ <a href="#burger.html">Burgers</a> |
+ <a href="#chicken.html">Chicken</a> |
+ <a href="#kebabs.html">Kebabs</a>
+ </div>
+
+ <div class="bbq-content">
+
+ <!-- This will be shown while loading AJAX content. You'll want to get an image that suits your design at http://ajaxload.info/ -->
+ <div class="bbq-loading" style="display:none;">
+ <img src="/shell/images/ajaxload-15-white.gif" alt="Loading"/> Loading content...
+ </div>
+
+ <!-- This content will be shown if no path is specified in the URL fragment. -->
+ <div class="bbq-default bbq-item">
+ <img src="bbq.jpg" width="400" height="300">
+ <h1>jQuery BBQ</h1>
+ <p>Click a nav item above to load some delicious AJAX content! Also, once
+ the content loads, feel free to further explore our savory delights by
+ clicking any inline links you might see.</p>
+ </div>
+
+ </div>
+
+ <div style="clear:both;"></div>
+</div>
+
+<p>This div.bbq widget has id "bbq2"</p>
+
+<div class="bbq" id="bbq2">
+ <div class="bbq-nav bbq-nav-top">
+ <a href="#kielbasa.html">Kielbasa</a> |
+ <a href="#ribs.html">Ribs</a> |
+ <a href="#steak.html">Steak</a>
+ </div>
+
+ <div class="bbq-content">
+
+ <!-- This will be shown while loading AJAX content. You'll want to get an image that suits your design at http://ajaxload.info/ -->
+ <div class="bbq-loading" style="display:none;">
+ <img src="/shell/images/ajaxload-15-white.gif" alt="Loading"/> Loading content...
+ </div>
+
+ <!-- This content will be shown if no path is specified in the URL fragment. -->
+ <div class="bbq-default bbq-item">
+ <img src="bbq.jpg" width="400" height="300">
+ <h1>jQuery BBQ</h1>
+ <p>And there's plenty more where that came from! Don't forget to click
+ here for some down-home AJAX content, cooked special, just for this
+ content area. You just can't have too much of a good thing!</p>
+ </div>
+
+ </div>
+
+ <div style="clear:both;"></div>
+</div>
+
+<h3>The code</h3>
+
+<p>Note that a lot of the following code is very similar to the <a href="../fragment-basic/">basic window.onhashchange</a> example. That's intentional! They're functionally very similar, but while this version is far more robust, it is somewhat more complex. Look at both to see which meets your needs, and don't be afraid to adapt.</p>
+
+<pre class="brush:js">
+<?= htmlspecialchars( $shell['script'] ); ?>
+</pre>
+
+<?
+$shell['html_body'] = ob_get_contents();
+ob_end_clean();
+
+// ========================================================================== //
+// DRAW SHELL
+// ========================================================================== //
+
+draw_shell();
+
+?>
View
16 examples/fragment-advanced/kebabs.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Ben Alman &raquo; jQuery BBQ &raquo; Barbecue!</title>
+</head>
+<body>
+
+<img src="kebabs.jpg" width="400" height="300">
+<h1>Savory Shish-Kebabs</h1>
+<p>Who doesn't like kebabs? Nobody! That's why this meat and veggie combo is sure
+to blow your mind! Still, if you aren't in the mood for wooden sticks, why not let a
+delicious <a href="#burger.html">Burger</a> whet your appetite?</p>
+
+</body>
+</html>
View
BIN  examples/fragment-advanced/kebabs.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
16 examples/fragment-advanced/kielbasa.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Ben Alman &raquo; jQuery BBQ &raquo; Barbecue!</title>
+</head>
+<body>
+
+<img src="kielbasa.jpg" width="400" height="300">
+<h1>Sweet Kielbasa</h1>
+<p>One bite of this kielbasa will have you asking for the recipe, and that's a fact.
+But save some room, because while you're here, you've got to check out our fantastic
+fall-off-the-bone <a href="#ribs.html">Ribs</a>!</p>
+
+</body>
+</html>
View
BIN  examples/fragment-advanced/kielbasa.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
16 examples/fragment-advanced/ribs.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Ben Alman &raquo; jQuery BBQ &raquo; Barbecue!</title>
+</head>
+<body>
+
+<img src="ribs.jpg" width="400" height="300">
+<h1>Baby-Back Ribs</h1>
+<p>What's better than a half-rack of ribs? A full rack! And if you like ribs,
+which you do, you're sure to love our perfectly seared flame-broiled
+<a href="#steak.html">Steak</a>!</p>
+
+</body>
+</html>
View
BIN  examples/fragment-advanced/ribs.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
16 examples/fragment-advanced/steak.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Ben Alman &raquo; jQuery BBQ &raquo; Barbecue!</title>
+</head>
+<body>
+
+<img src="steak.jpg" width="400" height="300">
+<h1>Flame-Broiled Steak</h1>
+<p>Seasoned and cooked perfectly, this amazing steak aims to please! And if you
+have room left over, don't forget to help yourself to a plate of our sweet
+<a href="#kielbasa.html">Kielbasa</a>!</p>
+
+</body>
+</html>
View
BIN  examples/fragment-advanced/steak.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  examples/fragment-basic/bbq.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
16 examples/fragment-basic/burger.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Ben Alman &raquo; jQuery BBQ &raquo; Barbecue!</title>
+</head>
+<body>
+
+<img src="burger.jpg" width="400" height="300">
+<h1>Delicious Burgers</h1>
+<p>It might look like more food than you can eat, but trust me, you'll finish
+this burger. What, you say you're a vegetarian? Ok then, try the
+<a href="#chicken.html">Chicken</a>!</p>
+
+</body>
+</html>
View
BIN  examples/fragment-basic/burger.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
16 examples/fragment-basic/chicken.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Ben Alman &raquo; jQuery BBQ &raquo; Barbecue!</title>
+</head>
+<body>
+
+<img src="chicken.jpg" width="400" height="300">
+<h1>Mesquite Rub Chicken</h1>
+<p>This spicy meal might have you begging for "cerveza" but you'll be coming back for
+seconds! Still hungry? Why not wash that chicken down with a heaping plate of
+<a href="#kebabs.html">Kebabs</a>?</p>
+
+</body>
+</html>
View
BIN  examples/fragment-basic/chicken.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
259 examples/fragment-basic/index.php
@@ -0,0 +1,259 @@
+<?PHP
+
+include "../index.php";
+
+$shell['title2'] = "window.onhashchange » Basic";
+
+$shell['h2'] = 'Cached AJAX + fragment + history + bookmarking = Tasty!';
+
+// ========================================================================== //
+// SUBHEADER
+// ========================================================================== //
+
+ob_start();
+?>
+ <a href="http://benalman.com/projects/jquery-bbq-plugin/">Home, Documentation, Source</a>
+<?
+$shell['h3'] = ob_get_contents();
+ob_end_clean();
+
+// ========================================================================== //
+// SCRIPT
+// ========================================================================== //
+
+ob_start();
+?>
+$(function(){
+
+ // Keep a mapping of url-to-container for caching purposes.
+ var cache = {
+ // If url is '' (no fragment), display this div's content.
+ '': $('.bbq-default')
+ };
+
+ // Bind an event to window.onhashchange that, when the history state changes,
+ // gets the url from the hash and displays either our cached content or fetches
+ // new content to be displayed.
+ $(window).bind( 'hashchange', function (e) {
+
+ // Get the hash (fragment) as a string, with any leading # removed. Note that
+ // in jQuery 1.4, you should use e.fragment instead of $.param.fragment().
+ var url = $.param.fragment();
+
+ // Remove .bbq-current class from any previously "current" link(s).
+ $( 'a.bbq-current' ).removeClass( 'bbq-current' );
+
+ // Hide any visible ajax content.
+ $( '.bbq-content' ).children( ':visible' ).hide();
+
+ // Add .bbq-current class to "current" nav link(s), only if url isn't empty.
+ url && $( 'a[href="#' + url + '"]' ).addClass( 'bbq-current' );
+
+ if ( cache[ url ] ) {
+ // Since the element is already in the cache, it doesn't need to be
+ // created, so instead of creating it again, let's just show it!
+ cache[ url ].show();
+
+ } else {
+ // Show "loading" content while AJAX content loads.
+ $( '.bbq-loading' ).show();
+
+ // Create container for this url's content and store a reference to it in
+ // the cache.
+ cache[ url ] = $( '<div class="bbq-item"/>' )
+
+ // Append the content container to the parent container.
+ .appendTo( '.bbq-content' )
+
+ // Load external content via AJAX. Note that in order to keep this
+ // example streamlined, only the content in .infobox is shown. You'll
+ // want to change this based on your needs.
+ .load( url, function(){
+ // Content loaded, hide "loading" content.
+ $( '.bbq-loading' ).hide();
+ });
+ }
+ })
+
+ // Since the event is only triggered when the hash changes, we need to trigger
+ // the event now, to handle the hash the page may have loaded with.
+ $(window).trigger( 'hashchange' );
+
+});
+<?
+$shell['script'] = ob_get_contents();
+ob_end_clean();
+
+// ========================================================================== //
+// HTML HEAD ADDITIONAL
+// ========================================================================== //
+
+ob_start();
+?>
+<script type="text/javascript" src="../../jquery.ba-bbq.js"></script>
+<script type="text/javascript" language="javascript">
+
+<?= $shell['script']; ?>
+
+$(function(){
+
+ // Syntax highlighter.
+ SyntaxHighlighter.highlight();
+
+});
+
+</script>
+<style type="text/css" title="text/css">
+
+/*
+bg: #FDEBDC
+bg1: #FFD6AF
+bg2: #FFAB59
+orange: #FF7F00
+brown: #913D00
+lt. brown: #C4884F
+*/
+
+.bbq {
+ margin-bottom: 1em;
+}
+
+.bbq-content {
+ border-left: 1px solid #913D00;
+ border-right: 1px solid #913D00;
+ padding: 8px;
+ margin: 0;
+ float: left;
+ width: 682px;
+ height: 302px;
+}
+
+.bbq-item h1 {
+ margin: 0;
+ font-size: 180%;
+}
+
+.bbq-item p {
+ font-size: 150%;
+ margin: 5px 0 0;
+}
+
+.bbq-item img {
+ border: 1px solid #913D00;
+ float: right;
+ margin-left: 10px;
+}
+
+a.bbq-current {
+ font-weight: 700;
+ text-decoration: none;
+}
+
+.bbq-nav {
+ padding: 0.3em;
+ color: #C4884F;
+ border: 1px solid #C4884F;
+ background: #FFD6AF;
+ clear: both;
+ text-align: center;
+}
+
+.bbq-nav-top {
+ margin-bottom: 0;
+ -moz-border-radius-topleft: 10px;
+ -moz-border-radius-topright: 10px;
+ -webkit-border-top-left-radius: 10px;
+ -webkit-border-top-right-radius: 10px;
+}
+
+.bbq-nav-bottom {
+ margin-top: 0;
+ -moz-border-radius-bottomleft: 10px;
+ -moz-border-radius-bottomright: 10px;
+ -webkit-border-bottom-left-radius: 10px;
+ -webkit-border-bottom-right-radius: 10px;
+}
+
+#page {
+ width: 700px;
+}
+
+</style>
+<?
+$shell['html_head'] = ob_get_contents();
+ob_end_clean();
+
+// ========================================================================== //
+// HTML BODY
+// ========================================================================== //
+
+ob_start();
+?>
+
+<p>
+ With <a href="http://benalman.com/projects/jquery-bbq-plugin/">jQuery BBQ</a> you can keep track of state, history and allow bookmarking while dynamically modifying the page via AJAX and/or DHTML.. just click the links, use your browser's back and next buttons, reload the page.. and when you're done playing, check out the code!
+</p>
+
+<p>
+ In this basic example, document.location.hash is used to store a simple string value of the file to be loaded via AJAX, so that not only a history entry is added, but also so that the page, in its current state, can be bookmarked. Because the hash contains only a single filename, this example doesn't support multiple content boxes, each with their own state, on the same page, but that's definitely still possible! Just check out the <a href="../fragment-advanced/">advanced window.onhashchange</a> example.
+</p>
+
+<h3>Navigation</h3>
+
+<div class="bbq">
+ <div class="bbq-nav bbq-nav-top">
+ <a href="#burger.html">Burgers</a> |
+ <a href="#chicken.html">Chicken</a> |
+ <a href="#kebabs.html">Kebabs</a> |
+ <a href="#kielbasa.html">Kielbasa</a> |
+ <a href="#ribs.html">Ribs</a> |
+ <a href="#steak.html">Steak</a>
+ </div>
+
+ <div class="bbq-content">
+
+ <!-- This will be shown while loading AJAX content. You'll want to get an image that suits your design at http://ajaxload.info/ -->
+ <div class="bbq-loading" style="display:none;">
+ <img src="/shell/images/ajaxload-15-white.gif" alt="Loading"/> Loading content...
+ </div>
+
+ <!-- This content will be shown if no path is specified in the URL fragment. -->
+ <div class="bbq-default bbq-item">
+ <img src="bbq.jpg" width="400" height="300">
+ <h1>jQuery BBQ</h1>
+ <p>Click a nav item above or below to load some delicious AJAX content! Also,
+ once the content loads, feel free to further explore our savory delights by
+ clicking any inline links you might see.</p>
+ </div>
+
+ </div>
+
+ <div class="bbq-nav bbq-nav-bottom">
+ <a href="#burger.html">Burgers</a> |
+ <a href="#chicken.html">Chicken</a> |
+ <a href="#kebabs.html">Kebabs</a> |
+ <a href="#kielbasa.html">Kielbasa</a> |
+ <a href="#ribs.html">Ribs</a> |
+ <a href="#steak.html">Steak</a>
+ </div>
+</div>
+
+<h3>The code</h3>
+
+<p>Note that a lot of the following code is very similar to the <a href="../fragment-advanced/">advanced window.onhashchange</a> example. That's intentional! They're functionally very similar, but while this version is far less robust, it is much more simple. Look at both to see which meets your needs, and don't be afraid to adapt.</p>
+
+<pre class="brush:js">
+<?= htmlspecialchars( $shell['script'] ); ?>
+</pre>
+
+<?
+$shell['html_body'] = ob_get_contents();
+ob_end_clean();
+
+// ========================================================================== //
+// DRAW SHELL
+// ========================================================================== //
+
+draw_shell();
+
+?>
View
16 examples/fragment-basic/kebabs.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Ben Alman &raquo; jQuery BBQ &raquo; Barbecue!</title>
+</head>
+<body>
+
+<img src="kebabs.jpg" width="400" height="300">
+<h1>Savory Shish-Kebabs</h1>
+<p>Who doesn't like kebabs? Nobody! That's why this meat and veggie combo is sure
+to blow your mind! Still, if you aren't in the mood for wooden sticks, why not let a
+delicious <a href="#burger.html">Burger</a> whet your appetite?</p>
+
+</body>
+</html>
View
BIN  examples/fragment-basic/kebabs.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
16 examples/fragment-basic/kielbasa.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Ben Alman &raquo; jQuery BBQ &raquo; Barbecue!</title>
+</head>
+<body>
+
+<img src="kielbasa.jpg" width="400" height="300">
+<h1>Sweet Kielbasa</h1>
+<p>One bite of this kielbasa will have you asking for the recipe, and that's a fact.
+But save some room, because while you're here, you've got to check out our fantastic
+fall-off-the-bone <a href="#ribs.html">Ribs</a>!</p>
+
+</body>
+</html>
View
BIN  examples/fragment-basic/kielbasa.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
16 examples/fragment-basic/ribs.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Ben Alman &raquo; jQuery BBQ &raquo; Barbecue!</title>
+</head>
+<body>
+
+<img src="ribs.jpg" width="400" height="300">
+<h1>Baby-Back Ribs</h1>
+<p>What's better than a half-rack of ribs? A full rack! And if you like ribs,
+which you do, you're sure to love our perfectly seared flame-broiled
+<a href="#steak.html">Steak</a>!</p>
+
+</body>
+</html>
View
BIN  examples/fragment-basic/ribs.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
16 examples/fragment-basic/steak.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta http-equiv="content-type" content="text/html; charset=utf-8">
+ <title>Ben Alman &raquo; jQuery BBQ &raquo; Barbecue!</title>
+</head>
+<body>
+
+<img src="steak.jpg" width="400" height="300">
+<h1>Flame-Broiled Steak</h1>
+<p>Seasoned and cooked perfectly, this amazing steak aims to please! And if you
+have room left over, don't forget to help yourself to a plate of our sweet
+<a href="#kielbasa.html">Kielbasa</a>!</p>
+
+</body>
+</html>
View
BIN  examples/fragment-basic/steak.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
518 examples/index.css
@@ -0,0 +1,518 @@
+/* YUI RESETS */
+
+/*
+Copyright (c) 2008, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.5.2
+*/
+html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym {border:0;font-variant:normal;}sup {vertical-align:text-top;}sub {vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}
+
+/*
+Copyright (c) 2008, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.5.2
+*/
+body {font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}table {font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}
+
+/*
+Copyright (c) 2008, Yahoo! Inc. All rights reserved.
+Code licensed under the BSD License:
+http://developer.yahoo.net/yui/license.txt
+version: 2.5.2
+*/
+h1{font-size:138.5%;}h2{font-size:123.1%;}h3{font-size:108%;}h1,h2,h3{margin:1em 0;}h1,h2,h3,h4,h5,h6,strong{font-weight:bold;}abbr,acronym{border-bottom:1px dotted #000;cursor:help;} em{font-style:italic;}blockquote,ul,ol,dl{margin:1em;}ol,ul,dl{margin-left:2em;}ol li{list-style:decimal outside;}ul li{list-style:disc outside;}dl dd{margin-left:1em;}th,td{border:1px solid #000;padding:.5em;}th{font-weight:bold;text-align:center;}caption{margin-bottom:.5em;text-align:center;}p,fieldset,table,pre{margin-bottom:1em;}input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em;}
+
+/* MISC RESETS */
+
+em, i {
+ font-weight: inherit;
+}
+
+ul, ol {
+ margin-right: 0;
+}
+
+pre {
+ white-space: pre-wrap;
+ white-space: -moz-pre-wrap;
+ white-space: -o-pre-wrap;
+ word-wrap: break-word;
+ _white-space: pre;
+}
+
+/* LISTS */
+
+div.nav ul, ul.nav {
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+div.nav li, ul.nav li {
+ list-style: none !important;
+ background: none !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+div.nav-inline ul, ul.nav-inline {
+ width: auto !important;
+}
+
+div.nav-inline li, ul.nav-inline li {
+ display: inline !important;
+}
+
+dl.inline {
+ margin-left: 0;
+}
+
+dl.inline dt,
+dl.inline dd {
+ margin: 0;
+ display: inline;
+}
+
+/* HORIZONTAL RULE */
+
+hr {
+ height: 1px;
+ color: #777;
+}
+
+div.hr {
+ height: 1px;
+ overflow: hidden;
+ border-bottom: 1px solid #777;
+ margin: 0.8em 0;
+}
+
+
+/* GENERAL-PURPOSE CLASSES */
+
+.hidden {
+ display: none !important;
+}
+
+.inline {
+ display: inline !important;
+ float: none !important;
+}
+
+.floatright {
+ display: inline;
+ float: right !important;
+}
+
+.floatleft {
+ display: inline;
+ float: left !important;
+}
+
+.clear {
+ clear: both !important;
+ display: block;
+}
+
+.clearleft {
+ clear: left !important;
+ display: block;
+}
+
+.clearright {
+ clear: right !important;
+ display: block;
+}
+
+.left {
+ text-align: left !important;
+}
+
+.right {
+ text-align: right !important;
+}
+
+.center {
+ text-align: center !important;
+}
+
+.nowrap {
+ white-space: nowrap !important;
+}
+
+.uppercase {
+ text-transform: uppercase !important;
+}
+
+.lowercase {
+ text-transform: lowercase !important;
+}
+
+.nocase {
+ text-transform: default !important;
+}
+
+.bold {
+ font-weight: 700 !important;
+}
+
+.normal {
+ font-weight: 400 !important;
+}
+
+.small {
+ font-size: 86% !important;
+}
+
+@media print {
+ .hidden-print {
+ display: none !important;
+ }
+ .nopagebreak {
+ page-break-inside: avoid !important;
+ }
+}
+
+@media screen {
+ .hidden-screen {
+ display: none !important;
+ }
+}
+
+
+/* HORIZONTAL + VERTICAL CENTERING */
+
+.center1 {
+ text-align: center;
+}
+
+.center2 {
+ #left: 50%;
+}
+
+.center3 {
+ margin: 0 auto;
+ #left: -50%;
+}
+
+.center1, .vcenter1 {
+ display: table;
+ #display: block;
+ #text-align: auto;
+ #position: relative;
+}
+
+.center2, .vcenter2 {
+ display: table-cell;
+ vertical-align: middle;
+ #position: absolute;
+ #top: 50%;
+}
+
+.center3, .vcenter3 {
+ display: block;
+ #position: relative;
+ #top: -50%;
+}
+
+/*
+.center1, .vcenter1 { border: 1px solid #f00 !important; }
+.center2, .vcenter2 { border: 1px solid #0f0 !important; }
+.center3, .vcenter3 { border: 1px solid #00f !important; }
+*/
+
+
+/* CSS BG IMAGE REPLACEMENT */
+
+.bgfx, .bgfx1, .bgfx2 {
+ display: block;
+ width: 300px;
+ height: 50px;
+ padding: 0 !important;
+}
+
+a.bgfx, a.bgfx1, a.bgfx2,
+a.bgfx:hover, a.bgfx1:hover, a.bgfx2:hover {
+ text-decoration: none;
+ cursor: pointer;
+ cursor: hand;
+}
+
+.bgfx {
+ position: relative;
+ overflow: hidden;
+ background: no-repeat 0 0;
+}
+
+.bgfx1, .bgfx2 {
+ position: absolute;
+ left: 0;
+ top: 0;
+ z-index: 1;
+ background: no-repeat 0 0;
+}
+
+
+/* "HIT" LINKS */
+
+.hit, .hit .hit1 {
+ display: block;
+ position: absolute;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ cursor: hand;
+ cursor: pointer;
+ _width: 100%;
+ _height: 100%;
+}
+
+.hit {
+ z-index: 1000;
+}
+
+.hit .hit1 {
+ #background: #fff;
+ #filter: alpha(opacity=1);
+}
+
+
+/* EXAMPLE CSS */
+
+/* http://colorschemedesigner.com/#3s40M--K-BRJD */
+
+.primary-1 { background-color: #008CD0 }
+.primary-2 { background-color: #2C7091 }
+.primary-3 { background-color: #005178 }
+.primary-4 { background-color: #58C0F2 }
+.primary-5 { background-color: #9FD7F2 }
+
+.secondary-a-1 { background-color: #0BE700 }
+.secondary-a-2 { background-color: #36A131 }
+.secondary-a-3 { background-color: #078500 }
+.secondary-a-4 { background-color: #62F85A }
+.secondary-a-5 { background-color: #A7F8A3 }
+
+.secondary-b-1 { background-color: #FE0006 }
+.secondary-b-2 { background-color: #B13639 }
+.secondary-b-3 { background-color: #920004 }
+.secondary-b-4 { background-color: #FF5D61 }
+.secondary-b-5 { background-color: #FFA7A9 }
+
+.complement-1 { background-color: #FF8900 }
+.complement-2 { background-color: #B27836 }
+.complement-3 { background-color: #934F00 }
+.complement-4 { background-color: #FFB45D }
+.complement-5 { background-color: #FFD6A7 }
+