Template:Peking2012 CSS

From 2012.igem.org

(Difference between revisions)
m
m
Line 525: Line 525:
function ButtonMouseOver(objPointer)
function ButtonMouseOver(objPointer)
{
{
-
   var Img = objPointer.childNodes;
+
   var Img = objPointer.getElementsByTagName("img");
   Img[1].style.display = "block";
   Img[1].style.display = "block";
   Img[0].style.display = "none";
   Img[0].style.display = "none";
Line 532: Line 532:
function ButtonMouseOut(objPointer)
function ButtonMouseOut(objPointer)
{
{
-
   var Img = objPointer.childNodes;
+
   var Img = objPointer.getElementsByTagName("img");
   Img[0].style.display = "block";
   Img[0].style.display = "block";
   Img[1].style.display = "none";
   Img[1].style.display = "none";

Revision as of 12:48, 7 August 2012