CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 144: | Line 144: | ||
svgDoc.getElementById(item.image_id).setAttribute('display', 'block'); | svgDoc.getElementById(item.image_id).setAttribute('display', 'block'); | ||
svgDoc.getElementById(item.image_id_sec).setAttribute('display', 'block'); | svgDoc.getElementById(item.image_id_sec).setAttribute('display', 'block'); | ||
+ | svgDoc.getElementById('svg_info_box_wet_lab').setAttribute('display', 'block'); | ||
+ | svgDoc.getElementById('svg_info_box_dry_lab').setAttribute('display', 'none'); | ||
} | } | ||
}); | }); | ||
Line 153: | Line 155: | ||
svgDoc.getElementById(item.image_id).setAttribute('display', 'block'); | svgDoc.getElementById(item.image_id).setAttribute('display', 'block'); | ||
svgDoc.getElementById(item.image_id_sec).setAttribute('display', 'block'); | svgDoc.getElementById(item.image_id_sec).setAttribute('display', 'block'); | ||
+ | svgDoc.getElementById('svg_info_box_dry_lab').setAttribute('display', 'block'); | ||
+ | svgDoc.getElementById('svg_info_box_wet_lab').setAttribute('display', 'none'); | ||
} | } | ||
}); | }); | ||
Line 198: | Line 202: | ||
svgDoc.getElementById(item.id).addEventListener('mouseover', function(){ svgFunctionalityHover(item) }); | svgDoc.getElementById(item.id).addEventListener('mouseover', function(){ svgFunctionalityHover(item) }); | ||
}); | }); | ||
+ | |||
+ | svgDoc.getElementById('svg_info_box_wet_lab').setAttribute('display', 'none'); | ||
+ | svgDoc.getElementById('svg_info_box_dry_lab').setAttribute('display', 'none'); | ||
}, false); | }, false); |
Revision as of 21:37, 22 October 2017
Click on the miRNAs to get to know us!
SVG span box for dry lab
SVG span box for wet lab