{"id":23701083,"url":"https://github.com/ehanlin/tinymodal","last_synced_at":"2026-01-24T06:42:38.391Z","repository":{"id":23163287,"uuid":"26518959","full_name":"eHanlin/tinymodal","owner":"eHanlin","description":null,"archived":false,"fork":false,"pushed_at":"2015-06-12T08:17:03.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-12-28T19:03:35.805Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"jasongrout/scipy2017-jupyter-widgets-tutorial","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eHanlin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-12T04:19:23.000Z","updated_at":"2015-06-12T08:17:03.000Z","dependencies_parsed_at":"2022-08-21T20:50:14.548Z","dependency_job_id":null,"html_url":"https://github.com/eHanlin/tinymodal","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/eHanlin%2Ftinymodal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eHanlin%2Ftinymodal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eHanlin%2Ftinymodal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eHanlin%2Ftinymodal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eHanlin","download_url":"https://codeload.github.com/eHanlin/tinymodal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239776582,"owners_count":19695133,"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-12-30T09:31:52.579Z","updated_at":"2026-01-24T06:42:38.342Z","avatar_url":"https://github.com/eHanlin.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"#\n這邊只是將tiny modal 放置 npm 使用\n\n#author\nelclanrs\n\n#link\nhttps://github.com/elclanrs/jquery.tiny.modal\n\n\n# jQuery Tiny Modal\n\nBarebones modal dialogs.\n\n**Demo:** [http://jsbin.com/UlusaXI/2](http://jsbin.com/UlusaXI/2)\n\n## How to\n\nCreate a container with an ID for your modal dialog, then put any markup you want inside.\n\n```html\n\u003cdiv id=\"mymodal\"\u003e\n  \u003ch2\u003eMy Modal\u003c/h2\u003e\n  \u003cp\u003eLorem ipsum dolor sit amet consectetur\u003c/p\u003e\n\u003c/div\u003e\n```\n\nMake sure to hide the modal in your CSS:\n\n```css\n#mymodal { display: none }\n```\n\nTrigger your modal on some element, like a button for example and call the plugin:\n\n```javascript\n$('button').click(function(){\n  $.tinyModal({\n    title: 'My Modal',\n    html: '#mymodal'\n  });\n});\n```\n\nTiny Modal comes with a basic theme that you can configure in `styl/jquery.tinymodal.styl`. Make sure to run `npm install` to download the dependencies. After editing don't forget to watch your files for changes and compile with `sh compile.sh`.\n\n## Options\n\n```javascript\n_defaults = {\n  buttons: ['Ok','Cancel'],\n  title: 'Alert',\n  html: '\u003cp\u003eAlert\u003c/p\u003e', // markup or selector\n  Ok: $.noop, // callback for the \"Ok\" button\n  Cancel: $.noop, // callback for the \"Cancel\" button\n  onClose: $.noop, // callback after the dialog closes\n  clickOutside: true // close the dialog when clicking outside\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehanlin%2Ftinymodal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fehanlin%2Ftinymodal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fehanlin%2Ftinymodal/lists"}