Difference between revisions of "Team:Greece/Project"

Line 74: Line 74:
 
         $('.display_frame').removeClass('reveal');
 
         $('.display_frame').removeClass('reveal');
 
         $('#' + stateMsg).addClass('reveal');
 
         $('#' + stateMsg).addClass('reveal');
   
+
        $('#ct1').goTo();
 
+
$('#ct1').goTo();
+
 
+
 
+
/*
+
      $("#linka").on("click", function( e ){
+
   
+
          e.preventDefault();
+
 
+
          $("body, html").animate(
+
            /* Styles
+
            { scrollTop: $( $(this).attr('href') ).offset().top },
+
            /* Speed 'slow', 'fast', number of miliseconds (default:400)
+
            -4000, 'linear'
+
          );
+
      });*/
+
 
+
      //scrollTillBottom();
+
 
     }
 
     }
 
 
     </script>
 
     </script>
 
<!-- Smooth Scrolling (Top to Bottom and vice versa)
 
<script>
 
/*
 
var myVar;
 
function scrollTillBottom() {
 
    var i=0;
 
    myVar = setInterval(function(){ i += 1; scrollBy(0,10); console.log(i); if(i == 95) myStopFunction(); }, 2);
 
}
 
 
function scrollTillTop(){
 
    var j=0;
 
    myVar = setInterval(function(){ j += 1; scrollBy(0,-10); console.log(j); if(j == 95) myStopFunction(); }, 2);
 
}
 
 
function myStopFunction() {
 
    clearInterval(myVar);
 
}
 
 
$('#toTop').click( function(e) {
 
  e.preventDefault();
 
  scrollTillTop();
 
});
 
*/
 
</script>
 
-->
 
  
 
</head>
 
</head>
Line 182: Line 137:
 
   <span id='ct1'><object id='Overview' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/Overview' ></object></span>
 
   <span id='ct1'><object id='Overview' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/Overview' ></object></span>
  
   <span id='ct2'><object id='Description'  width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/Description'></object></span>
+
   <object id='Description'  width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/Description'></object>
  
   <span id='ct3'><object id='Results' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/Results' ></object></span>
+
   <object id='Results' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/Results' ></object>
  
   <span id='ct4'><object id='Notebook' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/Notebook'></object></span>
+
   <object id='Notebook' width='100%' height='100%' class='display_frame hide' data='https://2017.igem.org/Team:Greece/Notebook'></object>
  
 
<!-- Footer Box -->
 
<!-- Footer Box -->

Revision as of 10:47, 1 September 2017

Loading...