Difference between revisions of "UO:Atlas/Trammel"

m
m
Line 16: Line 16:
 
<div class="map-holder" style="width:100%;"><!--
 
<div class="map-holder" style="width:100%;"><!--
 
--><div style="display:inline-block;transform:scale({{#var:scale}}) translate(-{{#var:topLeftX}}px, -{{#var:topLeftY}}px);"><!--
 
--><div style="display:inline-block;transform:scale({{#var:scale}}) translate(-{{#var:topLeftX}}px, -{{#var:topLeftY}}px);"><!--
--><div class="map" style="-webkit-clip-path: inset({{#var:topLeftY}}px {{#expr: {{#expr: {{#var:mapWidth}} - {{#var:topLeftX}} }} - {{#var:width}} }}px {{#expr: {{#expr: {{#var:mapHeight}} - {{#var:topLeftY}} }} - {{#var:height}} }}px {{#var:topLeftX}}px);clip-path: inset({{#var:topLeftX}}px {{#var:topLeftY}}px {{#var:width}}px {{#var:height}}px);">[[File:MAP0-{{#var: map}}.png|link=]]</div><!--
+
--><div class="map" style="-webkit-clip-path: inset({{#var:topLeftY}}px {{#expr: {{#expr: {{#var:mapWidth}} - {{#var:topLeftX}} }} - {{#var:width}} }}px {{#expr: {{#expr: {{#var:mapHeight}} - {{#var:topLeftY}} }} - {{#var:height}} }}px {{#var:topLeftX}}px);clip-path: inset({{#var:topLeftX}}px {{#var:topLeftY}}px {{#var:width}}px {{#var:height}}px);">[[File:MAP{{#var: map}}-1.png|link=]]</div><!--
  
  

Revision as of 22:02, 8 September 2016