Difference between revisions of "Team:Greece/Project"

Line 1: Line 1:
 
<html>
 
<html>
 
<head>
 
<head>
 +
    <!-- Meta -->
 +
 +
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
 +
 +
    <!-- Link References -->
 +
 +
    <link rel="stylesheet" type="text/css" href="https://2017.igem.org/Template:Greece/CSS?action=raw&ctype=text/css" />
 +
 +
    <!-- Scripts -->
 +
 +
    <!-- Call Jquery -->
 
     <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>
 
     <script src='https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>
 +
 +
    <!-- Call Template Scrips -->
 
     <script type="text/javascript" src="https://2017.igem.org/Template:Greece/Javascript?
 
     <script type="text/javascript" src="https://2017.igem.org/Template:Greece/Javascript?
 
action=raw&ctype=text/javascript"></script>
 
action=raw&ctype=text/javascript"></script>
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
 
     <link rel="stylesheet" type="text/css" href="https://2017.igem.org/Template:Greece/CSS?action=raw&ctype=text/css" />
+
     <!-- Change document title -->
<script>
+
     <script>$( document ).ready(function(){void(window.document.title = 'PROJECT');});</script>
        $( document ).ready(function() {  
+
 
                void(window.document.title = 'PROJECT');  
+
    <!-- Subsection onHover Functionality -->
          });
+
    <script>
</script>
+
<script>
+
 
function onHoverChanges(idz){
 
function onHoverChanges(idz){
 
$('.circlez').removeClass('opace');
 
$('.circlez').removeClass('opace');
Line 29: Line 40:
 
window.history.replaceState(null, null, stateMsg);
 
window.history.replaceState(null, null, stateMsg);
 
}
 
}
 +
    </script>
  
function whenAllOver(){ $('.circlez').removeClass('opace'); }
 
 
function displayMe(idz){
 
    $('#display_box').css('display', 'block');
 
    scrollTillBottom();
 
}
 
</script>
 
<script>
 
 
var myVar;
 
function scrollTillBottom() {
 
    var i=0;
 
    myVar = setInterval(function(){ i += 1; scrollBy(0,10); console.log(i); if(i == 150) myStopFunction(); }, 2);
 
}
 
 
function scrollTillTop(){
 
    var j=0;
 
    myVar = setInterval(function(){ j += 1; scrollBy(0,-10); console.log(j); if(j == 150) myStopFunction(); }, 2);
 
}
 
 
function myStopFunction() {
 
    clearInterval(myVar);
 
}
 
 
$('#toTop').click( function(e) {
 
  e.preventDefault();
 
  scrollTillTop();
 
});
 
 
</script>
 
 
</head>
 
</head>
 
<body>
 
<body>

Revision as of 20:22, 28 August 2017

Loading...