Difference between revisions of "Team:Cambridge-JIC/Achievements"

Line 25: Line 25:
  
 
// instantiate our notebook
 
// instantiate our notebook
graph = new notebookGraph($('#notebook'));
+
setTimeout(function(){
 +
var graph = null;
 +
if($(window).width() > 700) {
 +
    graph = new notebookGraph($('#notebook'));
 +
} else {
 +
    graph = new notebookGraphMob($('#notebook'));
 +
}
  
 
// establish the branches and their respective colours
 
// establish the branches and their respective colours
Line 49: Line 55:
 
graph.commit('gold', 'Gold #3: Previous Project Improvement', $('<div>Work in progress. Coming soon!</div>'));
 
graph.commit('gold', 'Gold #3: Previous Project Improvement', $('<div>Work in progress. Coming soon!</div>'));
 
graph.commit('gold', 'Gold #4: Demonstration at the Jamboree', $('<div>Luckily, one of the major aspects of our microscope is that it is compact, lightweight and easy to carry around with you anywhere. Which means that we are definitely bringing it to the Jamboree!</div>'));
 
graph.commit('gold', 'Gold #4: Demonstration at the Jamboree', $('<div>Luckily, one of the major aspects of our microscope is that it is compact, lightweight and easy to carry around with you anywhere. Which means that we are definitely bringing it to the Jamboree!</div>'));
 +
 +
}, 1000);
 
//]]>
 
//]]>
 
</script>
 
</script>

Revision as of 15:45, 29 July 2015

Achievements