New wiki-page
Jump to navigation
Jump to search
<style>
- map-container{
position:relative; width:300px; height:300px;
}
- map-svg{
position:absolute; left:0px; top:0px;
}
- map-catcher{
position:absolute; left:0px; top:0px; height:100%; width:100%;
}
</style> <script type="text/javascript" src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.2.1.min.js"> RLQ.push(function () { $(document).ready(function () {
$("#map-catcher").mousedown(function (e) { alert(e.offsetX); });
}); }); </script>
<object id="map-svg" type="image/svg+xml" data="http://upload.wikimedia.org/wikipedia/en/9/9a/Nickelodeon_logo.svg" style="width: 300px; height: 300px; border:1px solid black; ">Your browser does not support SVG</object>