From: maxious Date: Sun, 20 Mar 2011 03:51:10 +0000 Subject: Add Google Analytics for Mobile X-Git-Url: http://maxious.lambdacomplex.org/git/?p=busui.git&a=commitdiff&h=4ac896cc245e1b7cfe70213237527d43967f34f6 --- Add Google Analytics for Mobile --- --- a/common-template.inc.php +++ b/common-template.inc.php @@ -1,11 +1,37 @@ - - + + + ' . $pageTitle . ''; + if ($datepicker) echo ''; if (isDebugServer()) echo ' @@ -20,7 +46,7 @@ }); '; -echo ' - + #jqm-homeheader { + text-align: center; + } + + // source http://webaim.org/techniques/skipnav/ + #skip a, #skip a:hover, #skip a:visited +{ +position:absolute; +left:0px; +top:-500px; +width:1px; +height:1px; +overflow:hidden; +} + +#skip a:active, #skip a:focus +{ +position:static; +width:auto; +height:auto; +} +'; + if (strstr($_SERVER['HTTP_USER_AGENT'], 'iPhone') || strstr($_SERVER['HTTP_USER_AGENT'], 'iPod')) { + echo ' '; + } if ($geolocate) { echo "