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">
|
||||
<head>
|
||||
<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">
|
||||
<script src="../../jquery-1.5.1.js"></script>
|
||||
<script src="../../ui/jquery.ui.core.js"></script>
|
||||
@ -18,6 +18,10 @@
|
||||
.photo .ui-widget-header {
|
||||
margin: 1em 0;
|
||||
}
|
||||
.map {
|
||||
width: 350px;
|
||||
height: 350px;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
$(function() {
|
||||
@ -26,7 +30,7 @@
|
||||
content: function() {
|
||||
var element = $( this );
|
||||
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=" +
|
||||
element.text() + "'>";
|
||||
}
|
@ -14,7 +14,7 @@
|
||||
<li><a href="forms.html">Forms with tooltips</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="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>
|
||||
</ul>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user