Template:Sifuentes04

From 2014.igem.org

(Difference between revisions)
Line 305: Line 305:
function changeText(n) {
function changeText(n) {
-
 
+
var imgtext = textFeatureBox[n}
 +
        document.getElementById("featureText").innerHTML = imgtext;
}
}
Line 320: Line 321:
galimgn = imgname.length - 1;
galimgn = imgname.length - 1;
changeImg(galimgn);
changeImg(galimgn);
 +
changeText(galimgn);
}
}
Line 329: Line 331:
changeImg(galimgn);
changeImg(galimgn);
 +
changeText(galimgn);
}
}
Line 405: Line 408:
    <a href="#" onClick="moveLeft()"><img src="http://2011.igem.org/wiki/images/c/c8/Botonleft01.png" width="10" height="31"> </a>
    <a href="#" onClick="moveLeft()"><img src="http://2011.igem.org/wiki/images/c/c8/Botonleft01.png" width="10" height="31"> </a>
  <img src="http://2011.igem.org/wiki/images/c/cb/Img022.png"  name="galImg" width="50" height="100" id="galImg" longdesc="http://imgs">
  <img src="http://2011.igem.org/wiki/images/c/cb/Img022.png"  name="galImg" width="50" height="100" id="galImg" longdesc="http://imgs">
-
  <p> Text for the feature box </p>
 
  <a href="#" onClick="moveRight()"><img src="http://2011.igem.org/wiki/images/7/74/Botonright01.png" width="10" height="31"></a>
  <a href="#" onClick="moveRight()"><img src="http://2011.igem.org/wiki/images/7/74/Botonright01.png" width="10" height="31"></a>
 +
  <p id="featureText"> Text for the feature box </p>
    </div>  
    </div>  
</div>
</div>

Revision as of 15:54, 13 January 2015