diff --git a/examples/maps/ipv4_map_of_the_internet/css/example.css b/examples/maps/ipv4_map_of_the_internet/css/example.css index 9c56ebce..31057762 100644 --- a/examples/maps/ipv4_map_of_the_internet/css/example.css +++ b/examples/maps/ipv4_map_of_the_internet/css/example.css @@ -78,6 +78,10 @@ opacity: 0; overflow: hidden; } +#world > img { + width: 256px; + height: 256px; +} div.marker { position: absolute; diff --git a/examples/maps/ipv4_map_of_the_internet/js/example.js b/examples/maps/ipv4_map_of_the_internet/js/example.js index 97b8f18b..a93b5ad5 100644 --- a/examples/maps/ipv4_map_of_the_internet/js/example.js +++ b/examples/maps/ipv4_map_of_the_internet/js/example.js @@ -373,12 +373,9 @@ Ox.load('UI', function() { } }) .append( - $('') - .attr({ - src: self.options.tilesURL - + '0/0.0.0.0-255.255.255.255.png' - }) - .css({width: '256px', height: '256px'}) + $('').attr({ + src: self.options.tilesURL + '0/0.0.0.0-255.255.255.255.png' + }) ) .hide() .appendTo(that); @@ -1020,7 +1017,7 @@ Ox.load('UI', function() { }; - var URL = 'http://0x2620.org/html/ipv4map/', + var URL = 'https://0x2620.org/html/ipv4map/', lookupURL = URL + 'php/ipv4map.php?callback={callback}', tilesURL = URL + 'png/tiles/';