Versioner sammenlignet

Nøgle

  • Linjen blev tilføjet.
  • Denne linje blev fjernet.
  • Formatering blev ændret.

...

Kodeblok
<!--
Skype 'My status' button
http://www.skype.com/go/skypebuttons
-->
<script type="text/javascript" src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
<a href="skype:mos-eisley.dk?call"><img src="http://mystatus.skype.com/balloon/xxxxxx" style="border: none;" width="100" height="40" alt="My status" /></a>

me-map

This little Macro gives the possibility to present an adress with a link to a Google map, actually presenting itself in a lightbox. THis requires the {include-lightbox} macro, or the lighbox code loaded via the Template.

Take a look at http://code.google.com/apis/maps/documentation/staticmaps/index.html#AddressesImage Added - It is very Easy to make more parameters in the Macro, giving more options.

Also, my macro requires the Image Added image, placed in the images folder under the Tomcat.

Kodeblok

## @param zoom:title=Zoom|type=string|required=true|desc=Zoom (10-20)
## @param size:title=Size|type=string|required=true|desc=Size (px)

$body <a href="http://maps.googleapis.com/maps/api/staticmap?center=$body&zoom=${paramzoom}&size=${paramsize}x${paramsize}&sensor=true&maptype=hybrid&markers=color:blue%7Clabel:$body|$body" rel="lightbox" title="Adresse: $body"><img src="/images/map_logo.jpg" border="0"></a>