Difference between revisions of "Team:Virginia/Notebook"
Line 89: | Line 89: | ||
$("#left-arrow").fadeOut("fast"); | $("#left-arrow").fadeOut("fast"); | ||
} | } | ||
− | + | ||
+ | $("#right-arrow").click(function(){ | ||
console.log("Right Arrow: I’ve been clicked"); | console.log("Right Arrow: I’ve been clicked"); | ||
console.log("var left_page_counter is " + left_page_counter); | console.log("var left_page_counter is " + left_page_counter); | ||
+ | if ( (left_page_counter == 1) || (right_page_counter == 2) ) { | ||
+ | $("#left-arrow").fadeOut("fast"); | ||
+ | } | ||
$("#left-arrow").fadeIn("fast"); | $("#left-arrow").fadeIn("fast"); | ||
//removes current pages | //removes current pages | ||
Line 112: | Line 116: | ||
$("#left-arrow").click(function(){ | $("#left-arrow").click(function(){ | ||
//removes current pages | //removes current pages | ||
− | + | if ( (left_page_counter == 1) || (right_page_counter == 2) ) { | |
+ | $("#left-arrow").fadeOut("fast"); | ||
+ | } | ||
$left.addClass("inactive"); | $left.addClass("inactive"); | ||
$right.addClass("inactive"); | $right.addClass("inactive"); |
Revision as of 20:25, 15 August 2015
Team Notebook
The pages below are directly from our team notebook, which was kept throughout the whole project development process. Click on the top right corner to move forward a page, and click the top left corner to move back a page.