Tooltip demo: Position tooltips next to inputs instead of over inputs

This commit is contained in:
Jörn Zaefferer 2014-04-24 13:48:15 +02:00
parent a332256753
commit 1fa0c97586

View File

@ -27,7 +27,12 @@
</style>
<script>
$(function() {
var tooltips = $( "[title]" ).tooltip();
var tooltips = $( "[title]" ).tooltip({
position: {
my: "left top",
at: "right+5 top-5"
}
});
$( "<button>" )
.text( "Show help" )
.button()