This repository has been archived on 2024-12-01. You can view files and clone it, but cannot push or open issues or pull requests.
Uecko_Web/include/head-scripts.php
2015-10-02 08:10:49 +00:00

43 lines
1.7 KiB
PHP

<!-- Favicons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="">
<link rel="apple-touch-icon-precomposed" href="">
<link rel="icon" type="image/png" href="favicon.png">
<link rel="shortcut icon" type="image/png" href="favicon.png">
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-45298706-1', 'uecko.com');
ga('send', 'pageview');
</script>
<script language="javascript">
function scrollToElement(elementId) {
// This like will scroll Vertically to the top of the Element
$(".main, section").animate({
// Here 0 is the time in milliseconds.
scrollTop: $('#'+elementId).offset().top - 120 }, 600
);
// This like will scroll Horizontally to the Left of the Element
// $("html, body").animate({
// // Here 0 is the time in milliseconds.
// scrollLeft: $('#'+elementId).offset().left }, 300
// );
}
</script>