Team:Dundee

From 2014.igem.org

(Difference between revisions)
Line 365: Line 365:
             var id = $(this).attr('id');
             var id = $(this).attr('id');
              
              
-
             if(id == "school")
+
             if(id == "board")
 +
            {
 +
                $("#boardSpk").css({"opacity":"1"});
 +
            }         
 +
 
 +
            else if(id == "school")
             {
             {
                 $("#schoolSpk").css({"opacity":"1"});  
                 $("#schoolSpk").css({"opacity":"1"});  
Line 459: Line 464:
board.node.setAttribute("class","detail");  
board.node.setAttribute("class","detail");  
board.node.addEventListener("click", function(){$("#welcomeNote").modal(); }, false);   
board.node.addEventListener("click", function(){$("#welcomeNote").modal(); }, false);   
 +
 +
var boardSpk = paper.image("https://static.igem.org/mediawiki/2014/e/e6/Libraryblurb.png",600,200,300,150);
 +
boardSpk.node.setAttribute("class","speech");   
 +
boardSpk.node.setAttribute("id","boardSpk");
var school = paper.image("https://static.igem.org/mediawiki/2014/a/ac/School.png",30,230,300,500);         
var school = paper.image("https://static.igem.org/mediawiki/2014/a/ac/School.png",30,230,300,500);         

Revision as of 16:37, 13 October 2014

Dundee 2014