Sha256: e99fade3500d4f52c8182642dea4de645e21d2c714baa9dd65644536c93fd454

Contents?: true

Size: 1.95 KB

Versions: 8

Compression:

Stored size: 1.95 KB

Contents

<!doctype html>
<html lang="en">
<head>
	<title>jQuery UI Tooltip - Default demo</title>
	<link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
	<script type="text/javascript" src="../../jquery-1.5.1.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
	<script type="text/javascript" src="../../ui/jquery.ui.tooltip.js"></script>
	<link type="text/css" href="../demos.css" rel="stylesheet" />
	<script type="text/javascript">
	$(function() {
		$(".demo").tooltip({
			items: "[href], [title]",
			content: function(response) {
				var href = $(this).attr("href");
				if (/^#/.test(href)) {
					return $(href).html();
				} else if (href) {
					$.get(href, response);
					return "loading...";
				}
				return this.title;
			}
		});
		$("#footnotes").hide();
	});
	</script>
	<style>
		label { display: inline-block; width: 5em; }
	</style>
</head>
<body>

<div class="demo">
	<ul>
		<li>
			<a href="#footnote1">I'm a link to a footnote.</a>
		</li>
		<li>
			<a href="#footnote2">I'm another link to a footnote.</a>
		</li>
	</ul>
	<input title="This is just an input, nothing special" />
	
	<ul>
		<li>
			<a href="ajax/content1.html">Link to ajax content, with tooltip preview!</a>
		</li>
		<li>
			<a href="ajax/content2.html">Another link to ajax content, with tooltip preview!</a>
		</li>
	</ul>
	
	<div id="footnotes">
		<div id="footnote1">This is <strong>the</strong> footnote, including other elements</div>
		<div id="footnote2">This is <strong>the other</strong> footnote, including other elements</div>
	</div>
</div><!-- End demo -->



<div class="demo-description">

<p>Show how to combine different event delegated tooltips into a single instance, by customizing the items and content options.</p>

</div><!-- End demo-description -->



</body>
</html>

Version data entries

8 entries across 7 versions & 1 rubygems

Version Path
survivalkit-0.3.4 templates/project/sources/jquery-ui/demos/tooltip/delegation-mixbag.html
survivalkit-0.3.3 templates/project/sources/jquery-ui/demos/tooltip/delegation-mixbag.html
survivalkit-0.3.3 templates/drupal/sources/jquery-ui/demos/tooltip/delegation-mixbag.html
survivalkit-0.3.2 templates/project/sources/jquery-ui/demos/tooltip/delegation-mixbag.html
survivalkit-0.3.1 templates/project/sources/jquery-ui/demos/tooltip/delegation-mixbag.html
survivalkit-0.3 templates/project/sources/jquery-ui/demos/tooltip/delegation-mixbag.html
survivalkit-0.2.1 templates/project/sources/jquery-ui/demos/tooltip/delegation-mixbag.html
survivalkit-0.1 templates/project/sources/jquery-ui/demos/tooltip/delegation-mixbag.html