Difference between revisions of "Team:Brasil-USP/Templates/Cover"

 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
 
+
    <meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
 
     <link rel="stylesheet" href="https://2015.igem.org/wiki/index.php?title=Team:Brasil-USP/Templates/cover.css&action=raw&ctype=text/css" type="text/css"/>
 
     <link rel="stylesheet" href="https://2015.igem.org/wiki/index.php?title=Team:Brasil-USP/Templates/cover.css&action=raw&ctype=text/css" type="text/css"/>
    <script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
+
 
    <link href='http://fonts.googleapis.com/css?family=Wellfleet' rel='stylesheet' type='text/css'>
+
 
     <link href='http://fonts.googleapis.com/css?family=Wellfleet' rel='stylesheet' type='text/css'>
 
     <link href='http://fonts.googleapis.com/css?family=Wellfleet' rel='stylesheet' type='text/css'>
 +
    <link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
 
     <link href='http://fonts.googleapis.com/css?family=Arvo:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
 
     <link href='http://fonts.googleapis.com/css?family=Arvo:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
 
     <link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
 
     <link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
 
     <link href='http://fonts.googleapis.com/css?family=Goudy+Bookletter+1911' rel='stylesheet' type='text/css'>
 
     <link href='http://fonts.googleapis.com/css?family=Goudy+Bookletter+1911' rel='stylesheet' type='text/css'>
 +
   
 
     <script>
 
     <script>
 
        
 
        
      <!----- JQUERY FOR SLIDING NAVIGATION ---> 
+
    $(document).ready(function()
      $(document).ready(function() {
+
    {
        $('a[href*=#]').each(function() {
+
      $('a[href*=#]').each(function()
          if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
+
      {
          && location.hostname == this.hostname
+
       if ( location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') )
           && this.hash.replace(/#/,'') ) {
+
        {
            var $targetId = $(this.hash), $targetAnchor = $('[name=' + this.hash.slice(1) +']');
+
           this.hash.replace(/#/,'')
            var $target = $targetId.length ? $targetId : $targetAnchor.length ? $targetAnchor : false;
+
         var $targetId = $(this.hash), $targetAnchor = $('[name=' + this.hash.slice(1) +']');
            if ($target) {
+
          var $target = $targetId.length ? $targetId : $targetAnchor.length ? $targetAnchor : false;
              var targetOffset = $target.offset().top;
+
          if ($target)
     
+
          {
      <!----- JQUERY CLICK FUNCTION REMOVE AND ADD CLASS "ACTIVE" + SCROLL TO THE #DIV---> 
+
            var targetOffset = $target.offset().top;
              $(this).click(function() {
+
            $(this).click(function()
      $("#nav li a").removeClass("active");
+
            {
      $(this).addClass('active');
+
              $("#nav li a").removeClass("active");
                $('html, body').animate({scrollTop: targetOffset}, 1000);
+
              $(this).addClass('active');
                return false;
+
              $('html, body').animate({scrollTop: targetOffset}, 1000);
              });
+
              return false;
            }
+
            });
          }
+
          }
        });
+
        }
     
+
      });
      });
+
    });
     
+
 
     
+
    </script>
+
 
      
 
      
 +
    </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-65251898-1', 'auto');
 +
  ga('send', 'pageview');
 +
 +
</script>
  
 
</html>
 
</html>

Latest revision as of 17:34, 19 July 2015