Template:Sifuentes04

From 2014.igem.org

(Difference between revisions)
Line 286: Line 286:
 +
 +
<!-- javascript for the featurebox -->
<script type="text/javascript">
<script type="text/javascript">
Line 296: Line 298:
imgname[2] = "https://static.igem.org/mediawiki/2011/b/b1/Img021.png";
imgname[2] = "https://static.igem.org/mediawiki/2011/b/b1/Img021.png";
 +
 +
var textFeatureBox = new Array();
 +
textFeatureBox[0] = "text 01";
 +
textFeatureBox[1] = "text 02";
 +
textFeatureBox[2] = "text 03";
function changeText(n) {
function changeText(n) {
Line 310: Line 317:
{
{
galimgn -= 1;
galimgn -= 1;
-
 
if (galimgn < 0)
if (galimgn < 0)
galimgn = imgname.length - 1;
galimgn = imgname.length - 1;
Line 371: Line 377:
return false;
return false;
});
});
-
 
-
$(".button").click(function(){
 
-
    if($this.find("a").trigger("click"){
 
-
        window.location.href = $(this).find("a:first").attr("href");
 
-
    }
 
-
});
 
-
 
-
//
 
-
//  if($(this).find("a").length){
 
Line 408: Line 405:
    <a href="#" onClick="moveLeft()"><img src="https://static.igem.org/mediawiki/2011/c/c8/Botonleft01.png" width="10" height="31"> </a>
    <a href="#" onClick="moveLeft()"><img src="https://static.igem.org/mediawiki/2011/c/c8/Botonleft01.png" width="10" height="31"> </a>
  <img src="https://static.igem.org/mediawiki/2011/c/cb/Img022.png"  name="galImg" width="50" height="100" id="galImg" longdesc="http://imgs">
  <img src="https://static.igem.org/mediawiki/2011/c/cb/Img022.png"  name="galImg" width="50" height="100" id="galImg" longdesc="http://imgs">
-
<p> Text for the feature box </p>
+
  <p> Text for the feature box </p>
  <a href="#" onClick="moveRight()"><img src="https://static.igem.org/mediawiki/2011/7/74/Botonright01.png" width="10" height="31"></a>
  <a href="#" onClick="moveRight()"><img src="https://static.igem.org/mediawiki/2011/7/74/Botonright01.png" width="10" height="31"></a>
    </div>  
    </div>  

Revision as of 15:34, 13 January 2015