mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-04-20 03:02:41 -04:00
Tooltip demo: Small tweaks.
This commit is contained in:
@@ -38,10 +38,10 @@
|
||||
});
|
||||
}
|
||||
if ( element.is( "[title]" ) ) {
|
||||
return $( this ).attr( "title" );
|
||||
return element.attr( "title" );
|
||||
}
|
||||
if ( element.is( "img" ) ) {
|
||||
return $( this ).attr( "alt" );
|
||||
return element.attr( "alt" );
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -58,7 +58,7 @@
|
||||
<h3><a href="http://maps.google.com/maps?q=vienna,+austria&z=11" data-geo="48.208174,16.373819">Vienna, Austria</a>.</h3>
|
||||
</div>
|
||||
<a href="http://en.wikipedia.org/wiki/File:Wien_Stefansdom_DSC02656.JPG">
|
||||
<img src="images/st-stephens.jpg" alt="St. Stephen's Cathedral">
|
||||
<img src="images/st-stephens.jpg" alt="St. Stephen's Cathedral" class="ui-corner-all">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
<h3><a href="http://maps.google.com/maps?q=london,+england&z=11" data-geo="51.500152,-0.126236">London, England</a>.</h3>
|
||||
</div>
|
||||
<a href="http://en.wikipedia.org/wiki/File:Tower_bridge_London_Twilight_-_November_2006.jpg">
|
||||
<img src="images/tower-bridge.jpg" alt="Tower Bridge">
|
||||
<img src="images/tower-bridge.jpg" alt="Tower Bridge" class="ui-corner-all">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user