Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

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.

About

Auto layouting balloon popover always inside window for jQuery.

Resources

License

Packages

No packages published