Vorlage:Minimap with marker: Unterschied zwischen den Versionen

Aus RTW

(class for marker image)
(putting marker class on marker's root div)
Zeile 4: Zeile 4:
 
<img height="90" width="180" src="/images/layout/worldmap-180.png" alt="">
 
<img height="90" width="180" src="/images/layout/worldmap-180.png" alt="">
 
</div>
 
</div>
<div style="position:absolute; top:45px; left:91px;">
+
<div style="position:absolute; top:45px; left:91px;" class="marker">
 
<div style="position:absolute; bottom:</html>{{#expr:floor({{{NS|0}}}/2)}}<html>px; left:</html>{{#expr:floor({{{EW|0}}}/2)}}<html>px;">
 
<div style="position:absolute; bottom:</html>{{#expr:floor({{{NS|0}}}/2)}}<html>px; left:</html>{{#expr:floor({{{EW|0}}}/2)}}<html>px;">
<img height="14" width="9" src="/images/layout/mapmarker.png" class="marker" alt="">
+
<img height="14" width="9" src="/images/layout/mapmarker.png" alt="">
 
</div>
 
</div>
 
</div>
 
</div>

Version vom 31. Juli 2011, 20:31 Uhr