Skip to content

Commit b1406a0

Browse files
committed
Tooltip: Removed image example.
1 parent 98c654e commit b1406a0

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

entries/tooltip.xml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -116,24 +116,6 @@
116116
<a href="#" title="Anchor description">Anchor text</a>
117117
<input title="Input help">
118118
</p>]]></html>
119-
</example>
120-
<example>
121-
<height>300</height>
122-
<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>
123-
<code><![CDATA[
124-
$( "p" ).tooltip({
125-
items: "img[alt]",
126-
content: function() {
127-
return $( this ).attr( "alt" );
128-
}
129-
});
130-
]]></code>
131-
<html><![CDATA[
132-
<p>
133-
<img src="/resources/images/st-stephens.jpg" alt="St. Stephen's Cathedral">
134-
<img src="/resources/images/tower-bridge.jpg" alt="Tower Bridge">
135-
</p>
136-
]]></html>
137119
</example>
138120
<category slug="widgets"/>
139121
</entry>

0 commit comments

Comments
 (0)