{"id":15769674,"url":"https://github.com/terstudio/ivislider","last_synced_at":"2026-05-01T13:33:17.783Z","repository":{"id":57278757,"uuid":"122527745","full_name":"TerStudio/IviSlider","owner":"TerStudio","description":"\"IviSlider\" creates responsive and light-weight slider than can be easily customized","archived":false,"fork":false,"pushed_at":"2018-03-02T00:10:31.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T07:14:50.574Z","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/TerStudio.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":"2018-02-22T19:53:04.000Z","updated_at":"2018-02-22T19:54:34.000Z","dependencies_parsed_at":"2022-09-18T08:41:39.560Z","dependency_job_id":null,"html_url":"https://github.com/TerStudio/IviSlider","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/TerStudio%2FIviSlider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerStudio%2FIviSlider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerStudio%2FIviSlider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerStudio%2FIviSlider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TerStudio","download_url":"https://codeload.github.com/TerStudio/IviSlider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246458662,"owners_count":20780809,"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-04T14:03:55.232Z","updated_at":"2026-05-01T13:33:17.731Z","avatar_url":"https://github.com/TerStudio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ivislider\r\n-------\r\n\r\n_\"IviSlider\" creates responsive and light-weight slider than can be easily customized. One slide smartly changes another with a little ZoomIn effect. No jQuery!_\r\n\r\n#### Description\r\n\r\n* IviSlider is a responsive and lightweight customizable slider. You can easily change size, class of title, speed and overlaz for images.\r\n* No jQuery is required!\r\n* Accepts images src and slide titles in json format.\r\n* You can set the height of slider that depends on screen size\r\n* The slider changes size by wondow reize\r\n\r\n#### Package Managers\r\n\r\n##### NPM\r\n\r\n```sh\r\nnpm install ivislider\r\n```\r\n\r\n#####Usage\r\n\r\nJust import Class (for example in the js code that you bundle later with webpack):\r\n\r\n```html\r\nimport IviSlider from './ivislider/IviSlider';\r\n```\r\n\r\nAdd a link to css file in your `\u003chead\u003e`:\r\n\r\n```html\r\n\u003clink rel=\"stylesheet\" type=\"text/css\" href=\"\u003cPATH TO FILE\u003e/ivislider/ivislider.css\" media=\"all\"\u003e\r\n\r\n```\r\n\r\nAdd empty div with custom class in any place of your html code, for example in footer of the page.\r\n\r\n```html\r\n\u003cdiv class=\"frontslider\"\u003e\u003c/div\u003e\r\n```\r\n\r\nFinally \"tell\" IviSlider in what element it should be used and add options if necessary\r\n```html\r\nimport IviSlider from './ivislider/IviSlider';\r\nvar sliderAct = new IviSlider('frontslider');\r\nsliderAct.init();\r\n```\r\n\r\nCustomize the panel if you want to:\r\n```html\r\nimport IviSlider from './ivislider/IviSlider';\r\nvar sliderAct = new IviSlider('frontslider', {\r\n    titleclass: 'h1',\r\n    height: 1,\r\n    bottomOffset: 30,\r\n    imageLayer: true,\r\n    slideSpeed: 7000\r\n});\r\nsliderAct.init();\r\n```\r\n\r\n### JSON\r\nBy address '/rest/api/slider' should be accessible JSON:\r\n    [\r\n        0 =\u003e [\r\n            'src' =\u003e 'Image src 1',\r\n            'text' =\u003e 'Slide title 1'\r\n        ],\r\n        1 =\u003e [\r\n            'src' =\u003e 'Image src 2',\r\n            'text' =\u003e 'Slide title 2'\r\n        ],\r\n        2 =\u003e [\r\n            'src' =\u003e 'Image src 3',\r\n            'text' =\u003e 'Slide title 3'\r\n        ],\r\n    ];\r\n\r\n### Site Header\r\nThe header must have ID = \"header\"\r\n\r\n### Settings\r\n\r\nOption | Type | Default | Description\r\n------ | ---- | ------- | -----------\r\nbottomOffset | integer | 0 | Defines the distance between slider bottom and window bottom\r\nheight | integer | 0.5 | Part of screen that should be the height of slider with a deduction of header Height (for example: use 1 if you want to have fullscreen slide)\r\ntitleclass | string | 'h2' | Class of title of each slide\r\nlanguage | string | 'en' | Prefix of default language (important for multilanguage sites)\r\nimageLayer | boolean | false | defint if you want to have a transparent black overlay between image and title\r\nlineWithSpan | boolean | false | define if you want to add a span line under the slide title (you`ll need to add your own css)\r\nslideSpeed | integer | 0 (ms) | Defines the speed of slides change\r\n\r\n#### Browser support\r\n\r\nIviSlider works on IE8+ in addition to other modern browsers such as Chrome, Firefox, and Safari.\r\n\r\n#### License\r\n\r\nCopyright (c) 2018 tstudio\r\n\r\nLicensed under the MIT license.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterstudio%2Fivislider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterstudio%2Fivislider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterstudio%2Fivislider/lists"}