PowerTip Demo

A few examples of the jQuery PowerTip plugin in action.

HTML

<script src="https://stevenbenner.github.io/jquery-powertip/scripts/jquery.powertip.js"></script>
<link rel="stylesheet" href="https://stevenbenner.github.io/jquery-powertip/styles/jquery.powertip.css">
<nav id="mouseon-examples" class="tooltip templatemo-top-nav">
     <ul><li><a href="xy">Working Tooltip<span>TEXT IN TOOLTIP</span></a></li></ul>
     </nav>
    
<nav id="mouseon-examples" class="tooltip templatemo-top-nav">
     <ul><li><a href="xy">Working Tooltip<span>TEXT IN TOOLTIP</span></a></li></ul>
     </nav>

CSS

body {
    background-color: #98AF27;
    text-align: center;
}


#mouseon-examples div {
    background-color: #98AF27;
    margin-top: 20px;
    margin-bottom: 20px;
    height: 30px;
    padding:3px;
}

#powerTip {
	cursor: default;
	background-color: white;
	border-radius: 6px;
	color: #fff;
	display: none;
	padding: 10px;
	position: absolute;
	white-space: nowrap;
	z-index: 2147483647;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  -webkit-transform: translate(35px) rotate(25deg) scale(1.5);
	-moz-transform: translate(35px) rotate(25deg) scale(1.5);
	-o-transform: translate(35px) rotate(25deg) scale(1.5);
	-ms-transform: translate(35px) rotate(25deg) scale(1.5);
	transform: translate(35px) rotate(25deg) scale(1.5);
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}
#powerTip:before {
	content: "";
	position: absolute;
}

#powerTip.s:before {
	border-bottom: 10px solid white;
	top: -10px;
}

.templatemo-top-nav li {
    float: left;
    list-style: none;
}

.templatemo-top-nav a {    
	color: black;
    display: block;
    padding: 0 50px;
}

.templatemo-top-nav li:first-child a {     
	color: white;
    display: block;
    padding: 0 10px;
    font-weight: bold;
    font-size: 15px;
}

.templatemo-top-nav li a{
	display: block;
	position: relative;
}

.templatemo-top-nav a:hover,
.templatemo-top-nav a.active {
	color: white;
}

.templatemo-top-nav li .tt-gplus{
    background-position: 0px 0px;
}
.templatemo-top-nav li a span{
	width: 150px;
	height: auto;
	line-height: 20px;
	padding: 3px;
	left: 50%;
	margin-left: -64px;
	font-family: 'Trebuchet MS', Georgia, serif;
	font-weight: 400;	
	font-style: bold;
	font-size: 14px;
	color: black;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
	text-align: center;
	border: 4px solid #fff;
	background: white;
	text-indent: 0px;
	border-radius: 5px;
	position: absolute;
	bottom:...

JavaScript

$('.tooltip div').data('powertipjq', $([
    '<a href="body">A</a>      <a href="body2">B</a>'
    ].join('\n')));
$('.tooltip div').powerTip({
    placement: 's',
    mouseOnToPopup: true
});