🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Auto layouting balloon popover always inside window for jQuery.To help creating your webapp editor window, balloon popover of charactor speech, etc.

Plugins

Documentation

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.


You May Also Like