New wiki-page
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
height:100%; | height:100%; | ||
width:100%; | width:100%; | ||
</style> | </style> | ||
Revision as of 18:11, 9 August 2017
<style>
- map-container{
position:relative; width:300px; height:auto;
}
- map-svg{
position:absolute; left:0px; top:0px;
}
- map-catcher{
position:absolute; left:0px; top:0px; height:100%; width:100%;
</style>
<script>
$(document).ready(function () {
$("#map-catcher").mousedown(function (e) { $("#coord").text("x:"+e.offsetX+", y:"+e.offsetY); });
});
}
</script>