Difference between revisions of "Team:Toronto/WetLab/ExperimentProtocols"

Line 96: Line 96:
 
<body>
 
<body>
  
<ul id="test">
+
<ul id="PopupImgList">
     <li>Item 1</li>
+
     <img id="PopupImg" src="https://static.igem.org/mediawiki/2018/c/cc/T--Toronto--6_29_2018_Safety_1.jpg" alt="Lab" style="width:100%;max-width:300px">
 
     <li>Item 2</li>
 
     <li>Item 2</li>
 
     <li>Item 3</li>
 
     <li>Item 3</li>
Line 108: Line 108:
 
}
 
}
  
var ul = document.getElementById('test');
+
var ul = document.getElementById('PopupImgList');
 
ul.onclick = function(event) {
 
ul.onclick = function(event) {
 
     var target = getEventTarget(event);
 
     var target = getEventTarget(event);

Revision as of 18:39, 14 August 2018

    Lab
  • Item 2
  • Item 3