Team:Minnesota/Notebook
From 2012.igem.org
(Difference between revisions)
m |
m |
||
Line 31: | Line 31: | ||
//background image centering | //background image centering | ||
- | //main page image switcher | + | //main page image switcher - VERSION 2! Really cool haha... |
var keeper; | var keeper; | ||
Line 60: | Line 60: | ||
function() {$(this).attr("src",keeper);} | function() {$(this).attr("src",keeper);} | ||
); | ); | ||
+ | |||
+ | //click tracker for which notebook it's on | ||
+ | $("#mainRightButton2").click( | ||
+ | function(){ | ||
+ | var original = $("#mainRightButton1").attr("src"); | ||
+ | $("#mainRightButton1").attr("src",original.replace("maroon","gold"); | ||
+ | } | ||
+ | ); | ||
+ | |||
Revision as of 06:27, 2 October 2012
Like us on FB and follow us on Twitter!