Recommend this page to a friend! |
Classes of Fabian Vogelsteller | jsGET | README.md | Download |
|
|
DownloadjsGETCopyright (C) Fabian Vogelsteller [frozeman.de] published under the GNU General Public License version 3 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not,see <http://www.gnu.org/licenses/>. _____________________________________________ AUTHORFabian Vogelsteller <http://frozeman.de> DESCRIPTIONjsGET is a http GET-Variables clone for javascript, using the hash part of the URL (index.html#...). You can set and get variables, and run a listener to hash changes, e.g. when the the history back button get pressed. This allows you to create a usable history navigation in your ajay application. It should work with all a-grade browsers. VERSION0.1 INSTALLATIONJust include the jsGET.js in your website/webapplication and use the jsGET object with it's methods to set, get, remove history hash variables. See the demo.html for examples. Properties
Methods
ATTENTION!Everytime you call set(), remove() or clear() a new hash string will be set, that means you also create a new history step in the browser history! |