|
31 | 31 | if ( element.is( "[data-geo]" ) ) {
|
32 | 32 | var text = element.text();
|
33 | 33 | return "<img class='map' alt='" + text +
|
34 |
| - "' src='http://maps.google.com/maps/api/staticmap?" + |
| 34 | + "' src='https://maps.google.com/maps/api/staticmap?" + |
35 | 35 | "zoom=11&size=350x350&maptype=terrain&sensor=false¢er=" +
|
36 | 36 | text + "'>";
|
37 | 37 | }
|
|
50 | 50 | <div class="ui-widget photo">
|
51 | 51 | <div class="ui-widget-header ui-corner-all">
|
52 | 52 | <h2>St. Stephen's Cathedral</h2>
|
53 |
| - <h3><a href="http://maps.google.com/maps?q=vienna,+austria&z=11" data-geo>Vienna, Austria</a></h3> |
| 53 | + <h3><a href="https://maps.google.com/maps?q=vienna,+austria&z=11" data-geo>Vienna, Austria</a></h3> |
54 | 54 | </div>
|
55 |
| - <a href="http://en.wikipedia.org/wiki/File:Wien_Stefansdom_DSC02656.JPG"> |
| 55 | + <a href="https://en.wikipedia.org/wiki/File:Wien_Stefansdom_DSC02656.JPG"> |
56 | 56 | <img src="images/st-stephens.jpg" alt="St. Stephen's Cathedral" class="ui-corner-all">
|
57 | 57 | </a>
|
58 | 58 | </div>
|
59 | 59 |
|
60 | 60 | <div class="ui-widget photo">
|
61 | 61 | <div class="ui-widget-header ui-corner-all">
|
62 | 62 | <h2>Tower Bridge</h2>
|
63 |
| - <h3><a href="http://maps.google.com/maps?q=london,+england&z=11" data-geo>London, England</a></h3> |
| 63 | + <h3><a href="https://maps.google.com/maps?q=london,+england&z=11" data-geo>London, England</a></h3> |
64 | 64 | </div>
|
65 |
| - <a href="http://en.wikipedia.org/wiki/File:Tower_bridge_London_Twilight_-_November_2006.jpg"> |
| 65 | + <a href="https://en.wikipedia.org/wiki/File:Tower_bridge_London_Twilight_-_November_2006.jpg"> |
66 | 66 | <img src="images/tower-bridge.jpg" alt="Tower Bridge" class="ui-corner-all">
|
67 | 67 | </a>
|
68 | 68 | </div>
|
69 | 69 |
|
70 |
| -<p>All images are part of <a href="http://commons.wikimedia.org/wiki/Main_Page">Wikimedia Commons</a> |
71 |
| -and are licensed under <a href="http://creativecommons.org/licenses/by-sa/3.0/deed.en" title="Creative Commons Attribution-ShareAlike 3.0">CC BY-SA 3.0</a> by the copyright holder.</p> |
| 70 | +<p>All images are part of <a href="https://commons.wikimedia.org/wiki/Main_Page">Wikimedia Commons</a> |
| 71 | +and are licensed under <a href="https://creativecommons.org/licenses/by-sa/3.0/deed.en" title="Creative Commons Attribution-ShareAlike 3.0">CC BY-SA 3.0</a> by the copyright holder.</p> |
72 | 72 |
|
73 | 73 | <div class="demo-description">
|
74 | 74 | <p>Shows how to combine different event delegated tooltips into a single instance, by customizing the items and content options.</p>
|
|
0 commit comments