mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tooltip demo: Position tooltips next to inputs instead of over inputs
This commit is contained in:
parent
a332256753
commit
1fa0c97586
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user