mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Tooltip demos: Renamed delgation mixbag.
This commit is contained in:
parent
ab703d75f6
commit
2a27499ee4
@ -2,7 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>jQuery UI Tooltip - Default demo</title>
|
<title>jQuery UI Tooltip - Custom content</title>
|
||||||
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
|
||||||
<script src="../../jquery-1.5.1.js"></script>
|
<script src="../../jquery-1.5.1.js"></script>
|
||||||
<script src="../../ui/jquery.ui.core.js"></script>
|
<script src="../../ui/jquery.ui.core.js"></script>
|
||||||
@ -18,6 +18,10 @@
|
|||||||
.photo .ui-widget-header {
|
.photo .ui-widget-header {
|
||||||
margin: 1em 0;
|
margin: 1em 0;
|
||||||
}
|
}
|
||||||
|
.map {
|
||||||
|
width: 350px;
|
||||||
|
height: 350px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
@ -26,7 +30,7 @@
|
|||||||
content: function() {
|
content: function() {
|
||||||
var element = $( this );
|
var element = $( this );
|
||||||
if ( element.is( "[data-geo]" ) ) {
|
if ( element.is( "[data-geo]" ) ) {
|
||||||
return "<img src='http://maps.google.com/maps/api/staticmap?" +
|
return "<img class='map' src='http://maps.google.com/maps/api/staticmap?" +
|
||||||
"zoom=11&size=350x350&maptype=terrain&sensor=false¢er=" +
|
"zoom=11&size=350x350&maptype=terrain&sensor=false¢er=" +
|
||||||
element.text() + "'>";
|
element.text() + "'>";
|
||||||
}
|
}
|
@ -14,7 +14,7 @@
|
|||||||
<li><a href="forms.html">Forms with tooltips</a></li>
|
<li><a href="forms.html">Forms with tooltips</a></li>
|
||||||
<li><a href="tracking.html">Track the mouse</a></li>
|
<li><a href="tracking.html">Track the mouse</a></li>
|
||||||
<li><a href="custom-animation.html">Custom animation</a></li>
|
<li><a href="custom-animation.html">Custom animation</a></li>
|
||||||
<li><a href="delegation-mixbag.html">Delegation Mixbag</a></li>
|
<li><a href="custom-content.html">Custom content</a></li>
|
||||||
<li><a href="video-player.html">Video Player</a></li>
|
<li><a href="video-player.html">Video Player</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user