{"id":15720029,"url":"https://github.com/ujw0l/js-overlay","last_synced_at":"2025-03-30T22:46:23.064Z","repository":{"id":57283487,"uuid":"292004574","full_name":"ujw0l/js-overlay","owner":"ujw0l","description":"JS library that lets user to view image gallery, content, iframe content and ajax content in modal box","archived":false,"fork":false,"pushed_at":"2023-05-23T03:16:02.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-07T03:04:17.289Z","etag":null,"topics":["ajax","iframe","image-gallery","js-library","js-overlay","modal","vanilla-js"],"latest_commit_sha":null,"homepage":"https://ujw0l.github.io/js-overlay1","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/ujw0l.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-01T13:25:10.000Z","updated_at":"2024-07-27T13:24:04.000Z","dependencies_parsed_at":"2024-10-24T16:10:10.977Z","dependency_job_id":"6d54e803-c1b1-4387-bbb3-256a50dc0873","html_url":"https://github.com/ujw0l/js-overlay","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"5dd24306084628afd6bb7683d74d3bd6114a5480"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujw0l%2Fjs-overlay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujw0l%2Fjs-overlay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujw0l%2Fjs-overlay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ujw0l%2Fjs-overlay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ujw0l","download_url":"https://codeload.github.com/ujw0l/js-overlay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390857,"owners_count":20769476,"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":["ajax","iframe","image-gallery","js-library","js-overlay","modal","vanilla-js"],"created_at":"2024-10-03T21:57:33.462Z","updated_at":"2025-03-30T22:46:23.046Z","avatar_url":"https://github.com/ujw0l.png","language":"JavaScript","funding_links":["https://www.patreon.com/ujw0l","https://www.buymeacoffee.com/ujw0l"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWelcome to js-overlay 👋\u003c/h1\u003e\n\u003cp\u003e\n  \u003ca href=\"https://www.npmjs.com/package/js-overlay\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Version\" src=\"https://img.shields.io/npm/v/js-overlay.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"#\" target=\"_blank\"\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://twitter.com/bastakotiujwol\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Twitter: bastakotiujwol\" src=\"https://img.shields.io/twitter/follow/bastakotiujwol.svg?style=social\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e JS library that lets user to view image gallery, content, iframe content and ajax content in modal box\n\n### 🏠 [Homepage](https://ujw0l.github.io/js-overlay)\n\n### ✨ [Demo](https://ujw0l.github.io/js-overlay1)\n\n## Install\n\n```sh\nnpm i js-overlay\n```\n\n## Script Tag \n\n```sh\n\nDownload and include file\n\u003cscript type:\"text/javascript\" src=\"js-overlay.js\"\u003e\u003c/script\u003e\n\nor \n\n\u003cscript type:\"text/javascript\" src=\"js-overlay.min.js\"\u003e\u003c/script\u003e\n\n```\n\n## Initialization \n\n```sh\nconst overlay =  new jsOverlay();\n\nFor Content viewer \noverlay.createOverlay({ \n  elContent:'String', (String, content to be loaded in modal)\n  containerHt: Number, (Number, Modal height.Default 500)\n  containerWd: Number, (Number, Modal Width.Default 650)\n  })\n\nFor Image viewer \noverlay.createOverlay({ \n  imgGallery:'Selector/s', (String, parent container selector/s of Image/s)\n  containerHt: Number, (Number, Modal height.Default 500)\n  containerWd: Number, (Number, Modal Width.Default 650)\n  })\n\nFor Iframe viewer \noverlay.createOverlay({ \n  iframeUrl:'String', (String,  URL of page to be loaded)\n  containerHt: Number, (Number, Modal height.Default 500)\n  containerWd: Number, (Number, Modal Width.Default 650)\n  })\n\nFor AJAX viewer \noverlay.createOverlay({ \n  ajaxUrl: 'String',(String, Url Where data to be sent and get reponse from ) \n  ajaxData: 'String',(String, Data to be sent to server) \n  ajaxMethod: 'String': (String,  GET or POSt method, default GET )\n  containerHt: Number, (Number, Modal height.Default 500)\n  containerWd: Number, (Number, Modal Width.Default 650)\n  })  \n\n\n\n```\n\n\n## Author\n\n👤 **UjW0L**\n\n* Website: http://ujw0l.github.io\n* Twitter: [@bastakotiujwol](https://twitter.com/bastakotiujwol)\n* Github: [@UjW0L](https://github.com/UjW0L)\n* LinkedIn: [@ujwol-bastakoti-2453a4169](https://linkedin.com/in/ujwol-bastakoti-2453a4169)\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\u003cbr /\u003eFeel free to check [issues page](https://github.com/ujw0l/js-overlay/issues). \n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n\n\u003cul\u003e\n\u003cli\u003e\n\u003ca href=\"https://www.patreon.com/ujw0l\"\u003e\n  \u003cimg src=\"https://c5.patreon.com/external/logo/become_a_patron_button@2x.png\" width=\"160\"\u003e\n\u003c/a\u003e\n\u003c/li\u003e\n\u003cli\u003e\n\u003ca href=\"https://www.buymeacoffee.com/ujw0l\" title=\" Buy me Beer\"\u003e 🍺 \u003c/a\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\n***\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujw0l%2Fjs-overlay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fujw0l%2Fjs-overlay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujw0l%2Fjs-overlay/lists"}