# @miyuki333/jquery.popup

> An intuitive modal popup library for jQuery. Create simple popups, ajax popups, customize your background, and more! Also with centering that actually works!

Latest version **1.2.0** (published 2018-11-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @miyuki333/jquery.popup
pnpm add @miyuki333/jquery.popup
yarn add @miyuki333/jquery.popup
bun add @miyuki333/jquery.popup
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2018-11-26 |
| First published | 2018-11-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 842 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | miyuki333 |
| Maintainers | miyuki333 |
| Keywords | jquery-plugin, ecosystem:jquery, jquery, modal, popup, ajax |

## Links

- npm: https://www.npmjs.com/package/@miyuki333/jquery.popup
- Repository: https://github.com/Miyuki333/jquery.popup
- Homepage: https://github.com/Miyuki333/jquery.popup#readme
- Issues: https://github.com/Miyuki333/jquery.popup/issues
- npm.io page: https://npm.io/package/@miyuki333/jquery.popup

## Alternatives

- [react-native-root-siblings](https://npm.io/package/react-native-root-siblings.md) — 102.9K weekly downloads
- [post-robot](https://npm.io/package/post-robot.md) — 93.7K weekly downloads
- [@praxisui/dialog](https://npm.io/package/@praxisui/dialog.md) — 2.0K weekly downloads
- [easy-toggle-state](https://npm.io/package/easy-toggle-state.md) — 350 weekly downloads
- [ngx-lightbox-evp](https://npm.io/package/ngx-lightbox-evp.md) — 19 weekly downloads

## Recent versions

- 1.2.0 (latest) — 2018-11-26

## README

jquery.popup
===============

jquery.popup is jQuery plugin that allows you to create model popup windows inside of a web browser. It currently supports the following features: 


Features
------

-Dynmic AJAX loading of popup content

-Templates for popup window borders

-Customizable backgrounds

-Multiple popups with automatic window focus

-Centering that actually works!

-Move/resize windows by dragging (optional/customizable)

-Custom event for popup open/close


Usage
------

Create and open a simple popup:
```
var popup = $.popup.create("id_of_div_with_popup_content");
popup.open();
```

Create a centered popup:
```
var popup = $.popup.create("id_of_div_with_popup_content", {"center": true});
```

Create an AJAX popup:
```
var popup = $.popup.create("id_of_a_new_div_that_will_be_created", {"url": "./ajax_popup_content.html"});
```

Dynamically change popup content:
```
var content = "Nothing here yet...";
var popup = $.popup.create("id_of_a_new_div_that_will_be_created", {"content": content});
popup.open();
popup.content("Hello world!");
```

Demo/Examples
------

Check out http://files.isans.net/Popup/demo/index.html to see jquery.popup in action!

This library is licensed under the [MIT license](http://www.opensource.org/licenses/mit-license.php).

---
_Source: https://npm.io/package/@miyuki333/jquery.popup · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
