{"_id":"jquery.facebox","_rev":"4-c44b1202c6faa6b1f08a8e046562fc23","name":"jquery.facebox","description":"Facebox is a jQuery-based, Facebook-style lightbox which can display images, divs, or entire remote pages.","dist-tags":{"latest":"1.4.1"},"versions":{"1.4.0":{"name":"jquery.facebox","version":"1.4.0","description":"Facebox is a jQuery-based, Facebook-style lightbox which can display images, divs, or entire remote pages.","main":"jquery.facebox.min.js","style":["./src/*.css"],"files":["jquery.facebox.*","closelabel.png","loading.gif","LICENSE*"],"dependencies":{"jquery":">=1.4.2"},"scripts":{"test":"gulp test"},"repository":{"type":"git","url":"git+https://github.com/NightOwl888/facebox.git"},"keywords":["jquery","plugin","facebox","lightbox","dialog","facebook","jquery-plugin","ecosystem:jquery"],"author":{"name":"Chris Wanstrath","email":"chris@ozmm.org"},"license":{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"},"bugs":{"url":"https://github.com/defunkt/facebox/issues"},"homepage":"https://github.com/NightOwl888/facebox","_id":"jquery.facebox@1.4.0","_shasum":"2826214d8cb3407771747f05f2c204d70632650d","_resolved":"file:jquery.facebox.1.4.0.tgz","_from":"jquery.facebox.1.4.0.tgz","_npmVersion":"2.8.3","_nodeVersion":"0.12.2","_npmUser":{"name":"nightowl888","email":"sstorhaug@webuniverse.net"},"dist":{"shasum":"2826214d8cb3407771747f05f2c204d70632650d","tarball":"https://registry.npmjs.org/jquery.facebox/-/jquery.facebox-1.4.0.tgz","integrity":"sha512-Q3KvACjLtT634y0nEqyreMgmKqOONZdB50Ym/RFyG2tAQPsXccl+44igfXvxbZtXsrXEBuziCrecCCNt32s8JQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBoibU932qFgegmR5+LZ0vKZC/XFQxa228p2sMbTnz3yAiB+aF4wfcTPQ5Sf0s01okvtNPjPhG9TEAQ8Iu/hLy9nMA=="}]},"maintainers":[{"name":"nightowl888","email":"sstorhaug@webuniverse.net"}]},"1.4.1":{"name":"jquery.facebox","version":"1.4.1","description":"Facebox is a jQuery-based, Facebook-style lightbox which can display images, divs, or entire remote pages.","main":"jquery.facebox.min.js","style":["./src/*.css"],"files":["jquery.facebox.*","closelabel.png","loading.gif","LICENSE*"],"dependencies":{"jquery":">=1.4.2"},"scripts":{"test":"./node_modules/.bin/gulp test"},"repository":{"type":"git","url":"https://github.com/NightOwl888/facebox.git"},"keywords":["jquery","plugin","facebox","lightbox","dialog","facebook","jquery-plugin","ecosystem:jquery"],"author":"Chris Wanstrath <chris@ozmm.org>","license":{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"},"bugs":{"url":"https://github.com/defunkt/facebox/issues"},"homepage":"https://github.com/NightOwl888/facebox","_id":"jquery.facebox@1.4.1","maintainers":[{"name":"nightowl888","email":"sstorhaug@webuniverse.net"}],"dist":{"shasum":"8728b8a3bfb2031791b13fedc0a90ab143fa8b12","tarball":"https://registry.npmjs.org/jquery.facebox/-/jquery.facebox-1.4.1.tgz","integrity":"sha512-xxN0u8qZaq6U0UBx9aRUybNuN//0WC9CiSz1D6Ma1Bgr/jIvPtyp0RFayUaHz/cSMWU9v6Vvio5M3s6wfuIOqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwZdjsCTRlgx5ZJtwitkUXwk9fkvs20dPmXohR458uhAIgCMxf0OLO/krgjAmdVhMP1P6clkq5Wik8DBi3O7Biz6c="}]},"_npmUser":{"name":"nightowl888","email":"sstorhaug@webuniverse.net"}}},"readme":"# Facebox\n\nFacebox is a jQuery-based, Facebook-style lightbox which can display images, divs, or entire remote pages.\n\n[See it in action](http://defunkt.github.com/facebox/).\n\n![Sample Image](http://share.kyleneath.com/captures/Facebox_1.2-20100417-190352.jpg)\n\n[Download the latest release](http://github.com/defunkt/facebox/zipball/master)\n\n## Compatibility\n\nThis release relies on a lot of advanced CSS techniques (box-shadow, border-radius, RGBA). That being said, it's compatible with many browsers.\n\n* **Safari 4**\n* **Webkit Nightlies** (Chromium, Chrome) as of 4/17/10\n* **Firefox 3.5**\n* **IE8** (degraded experience)\n* **IE7** (degraded experience)\n* IE6 - I just don't care\n* Opera - I just don't care\n\n## Usage\n\nInclude jQuery, `src/facebox.js` and `src/facebox.css`. Then tell facebox where you've put `src/loading.gif` and `src/closelabel.png`\n\n    $.facebox.settings.closeImage = '/images/facebox/closelabel.png'\n    $.facebox.settings.loadingImage = '/images/facebox/loading.gif'\n\nCalling facebox() on any anchor tag will do the trick, it's easier to give your Faceboxy links a rel=\"facebox\"  and hit them all onDomReady.\n\n    jQuery(document).ready(function($) {\n      $('a[rel*=facebox]').facebox()\n    })\n\nAny anchor links with `rel=\"facebox\"` with now automatically use facebox:\n\n    <a href=\"#terms\" rel=\"facebox\">Terms</a>\n      Loads the #terms div in the box\n\n    <a href=\"terms.html\" rel=\"facebox\">Terms</a>\n      Loads the terms.html page in the box\n\n    <a href=\"terms.png\" rel=\"facebox\">Terms</a>\n      Loads the terms.png image in the box\n\n\n### Using facebox programmatically\n\n    jQuery.facebox('some html')\n    jQuery.facebox('some html', 'my-groovy-style')\n\nThe above will open a facebox with \"some html\" as the content.\n\n    jQuery.facebox(function($) {\n      $.get('blah.html', function(data) { $.facebox(data) })\n    })\n\nThe above will show a loading screen before the passed function is called,\nallowing for a better ajaxy experience.\n\nThe facebox function can also display an ajax page, an image, or the contents of a div:\n\n    jQuery.facebox({ ajax: 'remote.html' })\n    jQuery.facebox({ ajax: 'remote.html' }, 'my-groovy-style')\n    jQuery.facebox({ image: 'stairs.jpg' })\n    jQuery.facebox({ image: 'stairs.jpg' }, 'my-groovy-style')\n    jQuery.facebox({ div: '#box' })\n    jQuery.facebox({ div: '#box' }, 'my-groovy-style')\n\n### Events\n\nWant to close the facebox?  Trigger the `close.facebox` document event:\n\n    jQuery(document).trigger('close.facebox')\n\nFacebox also has a bunch of other hooks:\n\n* `loading.facebox`\n* `beforeReveal.facebox`\n* `reveal.facebox` (aliased as `afterReveal.facebox`)\n* `init.facebox`\n* `afterClose.facebox`  (callback after closing `facebox`)\n\nSimply bind a function to any of these hooks:\n\n    $(document).bind('reveal.facebox', function() { ...stuff to do after the facebox and contents are revealed... })\n\n### Customization\n\nYou can give the facebox container an extra class (to fine-tune the display of the facebox) with the facebox[.class] rel syntax.\n\n    <a href=\"remote.html\" rel=\"facebox[.bolder]\">text</a>\n\n## Contact & Help\n\nIf you have questions, feel free to ask on the [Google Groups Mailing List](http://groups.google.com/group/facebox/). Alternatively if you find a bug, you can [open an issue](http://github.com/defunkt/facebox/issues).\n","maintainers":[{"name":"nightowl888","email":"sstorhaug@webuniverse.net"}],"time":{"modified":"2022-06-19T05:19:49.209Z","created":"2015-06-22T00:26:42.495Z","1.4.0":"2015-06-22T00:26:42.495Z","1.4.1":"2015-06-22T14:23:29.879Z"},"homepage":"https://github.com/NightOwl888/facebox","keywords":["jquery","plugin","facebox","lightbox","dialog","facebook","jquery-plugin","ecosystem:jquery"],"repository":{"type":"git","url":"https://github.com/NightOwl888/facebox.git"},"author":"Chris Wanstrath <chris@ozmm.org>","bugs":{"url":"https://github.com/defunkt/facebox/issues"},"license":{"type":"MIT","url":"http://www.opensource.org/licenses/mit-license.php"},"readmeFilename":"README.md"}