Auto layouting balloon popover always inside window for jQuery.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
sample
LICENSE
README.md
jquery.smartpopover.js
jquery.smartpopover.min.js
smartpopover.jquery.json

README.md

jquery.smartpopover

Auto layouting balloon popover always inside window for jQuery.

To help creating your webapp editor window, balloon popover of charactor speech, etc.

Refer to the jQuery SmartPopover site for examples.

Usage

Requires jQuery 1.8+.

<script src='jquery-1.8.1.js'></script>
<script src='jquery.smartpopover.js'></script>

Creates new popover.

$("#target").smartPopover("<div>Hi!!</div>");

To delete popover, click outside of the popover or call "destroy".

$("#target").smartPopover("destroy");

Options

To change color of popover and set no border-radius. (like Metro UI style)

$("#target").smartPopover("<div>...</div>", {"background-color":"#48b1f2", "border-radius": 0 });

Other options

//TODO

License

© 2013, mofukuma. Released under the MIT License.