CharisKomos (Talk | contribs) |
CharisKomos (Talk | contribs) |
||
Line 133: | Line 133: | ||
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(item.id).setAttribute('transform', item.translate_after); | ||
+ | svgDoc.getElementById(item.id).setAttribute('cursor', 'pointer'); | ||
} | } | ||
}); | }); | ||
Line 142: | 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(item.id).setAttribute('transform', item.translate_after); | ||
+ | svgDoc.getElementById(item.id).setAttribute('cursor', 'pointer'); | ||
} | } | ||
}); | }); |
Revision as of 20:40, 22 October 2017
Click on the miRNAs to get to know us!