{"id":15570481,"url":"https://github.com/cipherboy/jpage","last_synced_at":"2025-03-29T06:13:40.317Z","repository":{"id":9292749,"uuid":"11128347","full_name":"cipherboy/jPage","owner":"cipherboy","description":"A dynamic jQuery multi-page library.","archived":false,"fork":false,"pushed_at":"2013-07-05T18:15:43.000Z","size":116,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-03T18:07:41.364Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cipherboy.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-02T15:44:01.000Z","updated_at":"2016-04-20T22:58:05.000Z","dependencies_parsed_at":"2022-09-13T16:21:43.903Z","dependency_job_id":null,"html_url":"https://github.com/cipherboy/jPage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cipherboy%2FjPage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cipherboy%2FjPage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cipherboy%2FjPage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cipherboy%2FjPage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cipherboy","download_url":"https://codeload.github.com/cipherboy/jPage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246145091,"owners_count":20730495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T17:42:29.033Z","updated_at":"2025-03-29T06:13:40.293Z","avatar_url":"https://github.com/cipherboy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jPage v1.0 - A dynamic jQuery multi-page library\nDepends: jQuery \u003e= 1.5\n\nCopyright (C) 2011, 2013 Alex Scheel\nAll rights reserved.\nLicensed under BSD 2 Clause License:\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n- Redistributions of source code must retain the above copyright notice,\n  this list of conditions and the following disclaimer.\n- Redistributions in binary form must reproduce the above copyright notice, \n  this list of conditions and the following disclaimer in the documentation \n  and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.\n\nA dynamic jQuery multi-page library\n\nUsage:\n  var page = new jPage();\n  page.init('div-page-id');\n  page.setPages(['#hash', 'name', 'title', '/url/to/page', true], '#hash');\n  page.setNavigation('anav', 'ul');\n  page.setBasepath('/containing/folder');\n  page.load();\n  \nAPI:\n  Main:\n    init(pelement) - Set container element for jPage\n    \n    load() - Starts jPage, loads data, displays\n    \n  Config:\n    setPages(pages-as-array, starting-hash) - Sets pages, starting hash\n    \n    setNavigation(nelement, navtype) - Sets navigation element, type\n    \n    setBasepath(bpath) - Prefix urls of page with base path\n    \n    setStorage(name, value) - Sets internal storage option\n    \n  Getters:\n    getPositionFromHash(hash) - Returns id of hash\n    \n    getNavigation() - returns rendered navigation\n    \n    getPage()  - gets current page, synchronous ly\n    \n    getPageTitle() - gets page title\n    \n  Internal:\n    setPage()\n    \n    showPage()\n    \n    hidePage()\n    \n    toPageByHash(hash)\n    \n    toPageById(hash)\n    \n    Events:\n      eventChangePage(event)\n      bindEvents()\n      unbindEvents()\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcipherboy%2Fjpage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcipherboy%2Fjpage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcipherboy%2Fjpage/lists"}