diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2011-09-15 00:41:50 -0700 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2011-09-15 00:41:50 -0700 |
commit | 4ae90e848a65802bb9c9d83721c262e634657650 (patch) | |
tree | 080b910320ef7aefafacf3fbeb4cb39391feac4d /includes | |
parent | cc2e1384904ff984208cf0236a9a5c6e957ba899 (diff) | |
parent | 3d11ea75aaa71cc3e83f1c9121f2ba59369204ef (diff) | |
download | pathery-4ae90e848a65802bb9c9d83721c262e634657650.tar.xz |
Merge branch 'HEAD' of ssh://git@git.raylu.net/pathery
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'>";
|