Skip to content

Commit

Permalink
Tooltip: Removed image example.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed Oct 25, 2012
1 parent 98c654e commit b1406a0
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions entries/tooltip.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,24 +116,6 @@
<a href="#" title="Anchor description">Anchor text</a>
<input title="Input help">
</p>]]></html>
</example>
<example>
<height>300</height>
<desc>Create a tooltip on the paragraph element, matching all images with an alt attribute. Use the alt attribute as the tooltip's content for each image.</desc>
<code><![CDATA[
$( "p" ).tooltip({
items: "img[alt]",
content: function() {
return $( this ).attr( "alt" );
}
});
]]></code>
<html><![CDATA[
<p>
<img src="/resources/images/st-stephens.jpg" alt="St. Stephen's Cathedral">
<img src="/resources/images/tower-bridge.jpg" alt="Tower Bridge">
</p>
]]></html>
</example>
<category slug="widgets"/>
</entry>

0 comments on commit b1406a0

Please sign in to comment.