{"id":15570474,"url":"https://github.com/cipherboy/jcarousel","last_synced_at":"2025-03-29T06:13:35.984Z","repository":{"id":9244190,"uuid":"11065093","full_name":"cipherboy/jCarousel","owner":"cipherboy","description":"A HTML5 Carousel library with Canvas support","archived":false,"fork":false,"pushed_at":"2013-07-02T20:46:39.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-03T18:07:42.629Z","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-06-30T05:35:41.000Z","updated_at":"2014-12-16T03:29:08.000Z","dependencies_parsed_at":"2022-09-09T09:41:21.923Z","dependency_job_id":null,"html_url":"https://github.com/cipherboy/jCarousel","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%2FjCarousel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cipherboy%2FjCarousel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cipherboy%2FjCarousel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cipherboy%2FjCarousel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cipherboy","download_url":"https://codeload.github.com/cipherboy/jCarousel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246145093,"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:27.683Z","updated_at":"2025-03-29T06:13:35.953Z","avatar_url":"https://github.com/cipherboy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jCarousel v1.2 - A HTML5 Carousel library with Canvas support\nDepends: jCanvas v2.0 (optional for arrows)\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 HTML5 Carousel library with Canvas support\n\nUsage:\n  carousel = new jCarouse();\n  carousel.addElement(\" \", \"Hello\", \"http://google.com\");\n  carousel.addElement(\" \", \"World\", \"http://apple.com\");\n  carousel.setDisplay(1);\n  carousel.init('div-carousel-id');\n \nAPI:\n  Main:\n    init(container element id) - Builds carousel and initializes it.\n    \n    update() - updates carousel display\n    \n    movePrev() - moves to previous element's position, updates carousel display\n    \n    moveNext() - moves to next element's position, updates carousel display\n    \n  Config:\n    addElement(image, title, link) - adds element to carousel\n      returns: position of new element if success\n               else -1\n    \n    delElement(position) - removes element from carousel\n      returns: -1 on fail, else nothing\n    \n    enableArrow() - enables scrolling arrows on carousel\n                    (default arrows are buttons, optional canvas arrows)\n    \n    disableArrow() - disables scrolling arrows on carousel\n    \n    setLeftArrow(width, height, color) - set up canvas left arrow\n    \n    setRightArrow(width, height, color) - set up canvas right arrow\n    \n    setDisplay(count) - set number of elements to dispaly at once\n    \n  Getters:\n    getElement(position) / getElement()\n      returns: element at position or current element\n    \n    getPrevious(position) / getPrevious()\n      returns: element at previous location from position or current\n    \n    getPrevNumb(position) / getPrevNumb() \n      returns: position of previous element from position or current\n               -1 on fail\n    \n    getNext(position) / getNext()\n      returns: element at next location from position or current\n    \n    getNextNumb(position) / getNextNumb()\n      returns: position of next element from position or current\n               -1 on fail\n    \n    getLeftArrow()\n      returns: contents of larrow\n    \n    getRightArrow()\n      returns: contents of rarrow\n    \n    buildElement(position) / buildElement()\n      returns: carousel element at position\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcipherboy%2Fjcarousel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcipherboy%2Fjcarousel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcipherboy%2Fjcarousel/lists"}