{"id":25178163,"url":"https://github.com/sgb-io/jquery.circular-carousel","last_synced_at":"2025-05-07T03:08:25.388Z","repository":{"id":18146315,"uuid":"21238989","full_name":"sgb-io/jquery.circular-carousel","owner":"sgb-io","description":"[ABANDONED] A 3D-like circular carousel plugin for jQuery.","archived":false,"fork":false,"pushed_at":"2015-10-20T08:27:31.000Z","size":277,"stargazers_count":53,"open_issues_count":0,"forks_count":15,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-07T03:08:23.442Z","etag":null,"topics":["carousel","carousel-component","carousels","javascript","jquery"],"latest_commit_sha":null,"homepage":"","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/sgb-io.png","metadata":{"files":{"readme":"README.md","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":"2014-06-26T11:51:01.000Z","updated_at":"2024-07-31T17:00:05.000Z","dependencies_parsed_at":"2022-09-24T22:20:37.767Z","dependency_job_id":null,"html_url":"https://github.com/sgb-io/jquery.circular-carousel","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/sgb-io%2Fjquery.circular-carousel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgb-io%2Fjquery.circular-carousel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgb-io%2Fjquery.circular-carousel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgb-io%2Fjquery.circular-carousel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgb-io","download_url":"https://codeload.github.com/sgb-io/jquery.circular-carousel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252804217,"owners_count":21806770,"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":["carousel","carousel-component","carousels","javascript","jquery"],"created_at":"2025-02-09T14:52:38.664Z","updated_at":"2025-05-07T03:08:25.359Z","avatar_url":"https://github.com/sgb-io.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery Circular Carousel\n\nA library that creates dynamic circular carousels. **Requires jQuery**. Adjustable items, dimensions, angle, durations, offsets. By default, scales non-active items to 0.5. See the [demo](http://sgb-io.github.io/jquery.circular-carousel/demo/).\n\n![What it looks like.](https://raw.githubusercontent.com/sgb-io/jquery.circular-carousel/master/demo/screenshot.png)\n\n# Status of this project\n\nThis project is no longer in active development or supported, but please feel free to use it however you wish. Patches welcome.\n\n# Browser Support \n\nUses CSS3 Transitions, CSS3 Transforms. Currently no polyfills or fallbacks implemented for IE9.\n\n- IE10+\n- Chrome\n- FF\n- Safari\n\n# Usage\n\nUse an unordered list like so, with at least 4 items (you can choose the class names and put whatever you want inside the items):\n\n```html\n\u003cul class=\"carousel\"\u003e\n\t\u003cli class=\"item active\"\u003e\u003c/li\u003e\n\t\u003cli class=\"item\"\u003e\u003c/li\u003e\n\t\u003cli class=\"item\"\u003e\u003c/li\u003e\n\t\u003cli class=\"item\"\u003e\u003c/li\u003e\n\t\u003cli class=\"item\"\u003e\u003c/li\u003e\n\t\u003cli class=\"item\"\u003e\u003c/li\u003e\n\u003c/ul\u003e\n```\n\nInclude jQuery, then download \u0026 include the library.\n\t\n```html\n\u003cscript src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"js/jquery.circular-carousel.js\"\u003e\u003c/script\u003e\n```\n\nInclude (or integrate) the library styles.\n\t\n```html\n\u003clink rel=\"stylesheet\" href=\"css/jquery.circular-carousel.css\"\u003e\n```\n\nThen, in your application.\n\t\n```javascript\nvar options = {\n\tovalWidth: 400,\n\tovalHeight: 50,\n\toffsetX: 100,\n\toffsetY: 325,\n\tangle: 0,\n\tactiveItem: 0,\n\tduration: 350,\n\tclassName: 'item'\n}\nvar carousel = new CircularCarousel( options );\n```\n\nMethods:\n\t\n```javascript\ncarousel.cycleActive('previous');\ncarousel.cycleActive('next');\ncarousel.cycleActiveTo(index);\n```\n\nEvents:\n\t\n```javascript\n/* Fires when an item is about to start it's activate animation */\ncarousel.on('itemBeforeActive', function(e, item) {\n\t//do something with $(item)\n});\n\n/* Fires after an item finishes it's activate animation */\ncarousel.on('itemActive', function(e, item) {\n\t//do something with $(item)\n});\n\n/* Fires when an active item starts it's de-activate animation */\ncarousel.on('itemBeforeDeactivate', function(e, item) {\n\t//do something with $(item)\n})\n\n/* Fires after an active item has finished it's de-activate animation */\ncarousel.on('itemAfterDeactivate', function(e, item) {\n\t//do something with $(item)\n})\n```\n\n# License\n\nMIT\n\n# Thanks\n\nAddy Osmani for creating a useful method for mapping DOM elements to a shape.\nMarcus Haslam (@marcusehaslam) for helping to create the findBestRoute utility.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgb-io%2Fjquery.circular-carousel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgb-io%2Fjquery.circular-carousel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgb-io%2Fjquery.circular-carousel/lists"}