Difference between revisions of "Team:Virginia/Notebook"
Line 61: | Line 61: | ||
} | } | ||
</style> | </style> | ||
− | <div class="left page | + | <div class="left page" id="page-1"> |
<img src="/wiki/images/b/b5/Virginia_page1.png"></img> | <img src="/wiki/images/b/b5/Virginia_page1.png"></img> | ||
</div> | </div> | ||
− | <div class="right page | + | <div class="right page" id="page-2"> |
<img src="/wiki/images/b/b5/Virginia_page1.png"></img> | <img src="/wiki/images/b/b5/Virginia_page1.png"></img> | ||
</div> | </div> | ||
− | <div class="left page inactive"> | + | <div class="left page inactive" id="page-3"> |
<img src="/wiki/images/b/b5/Virginia_page1.png"></img> | <img src="/wiki/images/b/b5/Virginia_page1.png"></img> | ||
</div> | </div> | ||
− | <div class="right page inactive"> | + | <div class="right page inactive" id="page-4"> |
<img src="/wiki/images/b/b5/Virginia_page1.png"></img> | <img src="/wiki/images/b/b5/Virginia_page1.png"></img> | ||
</div> | </div> | ||
</div> | </div> | ||
+ | <script type="text/javascript"> | ||
+ | var left_page_counter = 1; | ||
+ | var right_page_counter = 2; | ||
+ | var left_page = "#page-" + left_page_counter; | ||
+ | var right_page = "#page-" + right_page_counter; | ||
+ | var $left = $(left_page); | ||
+ | var $right = $(right_page); | ||
+ | |||
+ | jQuery(document).ready(function(){ | ||
+ | $("#right-arrow").click(function(){ | ||
+ | $left.addClass("inactive"); | ||
+ | $right.addClass("inactive"); | ||
+ | |||
+ | left_page_counter = left_page_counter + 1; | ||
+ | right_page_counter = right_page_counter + 1; | ||
+ | |||
+ | $left.removeClass("inactive"); | ||
+ | $right.removeClass("inactive"); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
<style type="text/css"> | <style type="text/css"> | ||
.book-wrapper { | .book-wrapper { |
Revision as of 19:40, 10 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.