aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-05-30 19:07:40 -0400
committerScott González <scott.gonzalez@gmail.com>2011-05-30 19:07:40 -0400
commit2a27499ee4ab8076f7c342934af63ad4827f2533 (patch)
treec845b41050d19e347371f0bbec548fe8505164c3 /demos
parentab703d75f66412a92de34de10629c365861e17ef (diff)
downloadjquery-ui-2a27499ee4ab8076f7c342934af63ad4827f2533.tar.gz
jquery-ui-2a27499ee4ab8076f7c342934af63ad4827f2533.zip
Tooltip demos: Renamed delgation mixbag.
Diffstat (limited to 'demos')
-rw-r--r--demos/tooltip/custom-content.html (renamed from demos/tooltip/delegation-mixbag.html)8
-rw-r--r--demos/tooltip/index.html2
2 files changed, 7 insertions, 3 deletions
diff --git a/demos/tooltip/delegation-mixbag.html b/demos/tooltip/custom-content.html
index 689175b0f..e84a7104b 100644
--- a/demos/tooltip/delegation-mixbag.html
+++ b/demos/tooltip/custom-content.html
@@ -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&center=" +
element.text() + "'>";
}
diff --git a/demos/tooltip/index.html b/demos/tooltip/index.html
index 460c494e3..6e7c6836e 100644
--- a/demos/tooltip/index.html
+++ b/demos/tooltip/index.html
@@ -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>