2626 content : function ( ) {
2727 var element = $ ( this ) ;
2828 if ( element . is ( "[data-geo]" ) ) {
29- return $ ( "<iframe>" , {
30- width : 425 ,
31- height : 350 ,
32- frameborder : 0 ,
33- scrolling : "no" ,
34- marginheight : 0 ,
35- marginwidth : 0 ,
36- src : "http://maps.google.com/maps?ll=" + element . attr ( "data-geo" ) +
37- "&z=11&t=p&output=embed"
38- } ) ;
29+ return "<img src='http://maps.google.com/maps/api/staticmap?" +
30+ "zoom=11&size=350x350&maptype=terrain&sensor=false¢er=" +
31+ element . text ( ) + "'>" ;
3932 }
4033 if ( element . is ( "[title]" ) ) {
4134 return element . attr ( "title" ) ;
5548< div class ="ui-widget photo ">
5649 < div class ="ui-widget-header ui-corner-all ">
5750 < h2 > St. Stephen's Cathedral</ h2 >
58- < h3 > < a href ="http://maps.google.com/maps?q=vienna,+austria&z=11 " data-geo =" 48.208174,16.373819 " > Vienna, Austria</ a > </ h3 >
51+ < h3 > < a href ="http://maps.google.com/maps?q=vienna,+austria&z=11 " data-geo > Vienna, Austria</ a > </ h3 >
5952 </ div >
6053 < a href ="http://en.wikipedia.org/wiki/File:Wien_Stefansdom_DSC02656.JPG ">
6154 < img src ="images/st-stephens.jpg " alt ="St. Stephen's Cathedral " class ="ui-corner-all ">
@@ -65,7 +58,7 @@ <h3><a href="http://maps.google.com/maps?q=vienna,+austria&z=11" data-geo="48.20
6558< div class ="ui-widget photo ">
6659 < div class ="ui-widget-header ui-corner-all ">
6760 < h2 > Tower Bridge</ h2 >
68- < h3 > < a href ="http://maps.google.com/maps?q=london,+england&z=11 " data-geo =" 51.500152,-0.126236 " > London, England</ a > </ h3 >
61+ < h3 > < a href ="http://maps.google.com/maps?q=london,+england&z=11 " data-geo > London, England</ a > </ h3 >
6962 </ div >
7063 < a href ="http://en.wikipedia.org/wiki/File:Tower_bridge_London_Twilight_-_November_2006.jpg ">
7164 < img src ="images/tower-bridge.jpg " alt ="Tower Bridge " class ="ui-corner-all ">
0 commit comments