Difference between revisions of "Team:Greece/Model"

Line 31: Line 31:
 
       });
 
       });
 
     </script>
 
     </script>
 
 
     <!-- Subsection onHover Functionality -->
 
     <!-- Subsection onHover Functionality -->
 
     <script>
 
     <script>
Line 37: Line 36:
 
$('.circlez').removeClass('opace');
 
$('.circlez').removeClass('opace');
 
$('#'+idz).addClass('opace');
 
$('#'+idz).addClass('opace');
+
}
var stateMsg;
+
    </script>
 +
 
 +
    <!-- Display Subsection Functionality -->
 +
    <script>
 +
 
 +
function displayMe(idz){
 +
    $('#display_box').css('display', 'block');
 +
    var stateMsg;
 
switch(idz){
 
switch(idz){
 
case 'c_t1': stateMsg = '-A-';
 
case 'c_t1': stateMsg = '-A-';
Line 49: Line 55:
 
break;
 
break;
 
}
 
}
window.history.replaceState(null, null, stateMsg);
+
    window.history.replaceState(null, null, stateMsg);
}
+
     scrollTillBottom();
     </script>
+
    <!-- Display Subsection Functionality -->
+
  
    <script>
+
}
    function displayMe(idz){ $('#display_box').css('display', 'block'); scrollTillBottom(); }
+
 
     </script>
 
     </script>
 
      
 
      

Revision as of 21:33, 29 August 2017

Loading...