diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/header.php | 7 | ||||
-rw-r--r-- | includes/maps.php | 14 |
2 files changed, 13 insertions, 8 deletions
diff --git a/includes/header.php b/includes/header.php index 6a9caaf..b402025 100644 --- a/includes/header.php +++ b/includes/header.php @@ -8,7 +8,6 @@ function htmlHeader() { <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>pathery.com</title>
- <link href="http://fonts.googleapis.com/css?family=Cantarell:400,700" rel="stylesheet" type="text/css">
<link href="css/mapstyle.css" rel="stylesheet" type="text/css" />
<link href="css/pagestyle.css" rel="stylesheet" type="text/css" />
<link href="css/statsstyle.css" rel="stylesheet" type="text/css" />
@@ -24,6 +23,12 @@ function htmlHeader() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+
+ var fo = document.createElement('link');
+ fo.rel = 'stylesheet';
+ fo.type = 'text/css';
+ fo.href = "http://fonts.googleapis.com/css?family=Cantarell:400,700";
+ var l = document.getElementsByTagName('link')[0]; l.parentNode.insertBefore(fo, l);
})();
</script>
</head>
diff --git a/includes/maps.php b/includes/maps.php index bef6c63..a1bbc95 100644 --- a/includes/maps.php +++ b/includes/maps.php @@ -100,13 +100,13 @@ function DisplayMap($mapMatrix, $idprefix = 1, $style = 'normal', $speed = NULL) //This works in chrome, not sure about others.
$preloaddiv .= "
<div style='visibility:hidden;display:none'>
- <img src='images/Path1.png' />
- <img src='images/Path2.png' />
- <img src='images/Path3.png' />
- <img src='images/Path4.png' />
- <img src='images/OverlayTileFaceted50.png' />
- <img src='images/OverlayTileFaceted30.png' />
- <img src='images/OverlayTileFaceted10.png' />
+ <img src='images/Path1.png' alt=''>
+ <img src='images/Path2.png' alt=''>
+ <img src='images/Path3.png' alt=''>
+ <img src='images/Path4.png' alt=''>
+ <img src='images/OverlayTileFaceted50.png' alt=''>
+ <img src='images/OverlayTileFaceted30.png' alt=''>
+ <img src='images/OverlayTileFaceted10.png' alt=''>
</div>";
$mapdatadiv .= "<div id='$idprefix,mapdata' style='visibility:hidden;display:none'>";
|