Template:Team:BGU Israel/Menu

From 2014.igem.org

(Difference between revisions)
Line 7: Line 7:
<script type="text/javascript" src="https://2014.igem.org/Template:Team:BGU_Israel/javascript.js?action=raw&amp;ctype=text/javascript"></script>
<script type="text/javascript" src="https://2014.igem.org/Template:Team:BGU_Israel/javascript.js?action=raw&amp;ctype=text/javascript"></script>
<script>var __adobewebfontsappname__="dreamweaver"</script><script src="http://use.edgefonts.net/aladin:n4:default;alexa-std:n4:default;allan:n7:default.js" type="text/javascript">
<script>var __adobewebfontsappname__="dreamweaver"</script><script src="http://use.edgefonts.net/aladin:n4:default;alexa-std:n4:default;allan:n7:default.js" type="text/javascript">
-
 
-
var img_count=0;
 
-
        function goToByScroll(id) { $('html,body').animate({ scrollTop: $("#" + id).offset().top }, 'slow'); }
 
-
function change_pic() {
 
-
img_count=(img_count+1)%7;
 
-
  var figure1 = document.getElementById("figure1");
 
-
switch(img_count) {
 
-
    case 0:
 
-
     
 
-
 
-
      figure1.src = "https://static.igem.org/mediawiki/2014/f/f2/BGU14PGC-1-1.png"; 
 
-
        break;
 
-
    case 1:
 
-
      figure1.src = "https://static.igem.org/mediawiki/2014/8/8d/BGU14PGC-1-2.png"; 
 
-
        break;
 
-
case 2:
 
-
        figure1.src = "https://static.igem.org/mediawiki/2014/0/02/BGU14PGC-1-3.png"; 
 
-
        break;
 
-
case 3:
 
-
      figure1.src = "https://static.igem.org/mediawiki/2014/f/ff/BGU14PGC-1-4.png"; 
 
-
        break;
 
-
case 4:
 
-
        figure1.src = "https://static.igem.org/mediawiki/2014/7/79/BGU14PGC-1-5.png"; 
 
-
        break;
 
-
case 5:
 
-
        figure1.src = "https://static.igem.org/mediawiki/2014/b/b8/BGU14PGC-1-6a.png"; 
 
-
        break;
 
-
case 6:
 
-
        figure1.src = "https://static.igem.org/mediawiki/2014/c/cc/BGU14PGC-1-6b.png"; 
 
-
        break;
 
-
 
-
}
 
-
}
 
-
 
-
 
-
 
</script>
</script>
     <img class="hoverable" id="top_doctor" onclick="goToByScroll('top'); return false;" src="https://static.igem.org/mediawiki/2014/3/38/BGU14top_doctor.jpg" alt=""/> </div>
     <img class="hoverable" id="top_doctor" onclick="goToByScroll('top'); return false;" src="https://static.igem.org/mediawiki/2014/3/38/BGU14top_doctor.jpg" alt=""/> </div>

Revision as of 15:05, 15 October 2014