Difference between revisions of "Template:Team:Aachen/Footer"

(Created page with "<html> </div> <div class="botborder colorable"></div> <div class="hexagon-bg"> <div class="hexagon"> <div class="colorable fill"></div> <div class="colo...")
 
 
(28 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
<div class="hexagon-bg">
 
<div class="hexagon-bg">
 
<div class="hexagon">
 
<div class="hexagon">
<div class="colorable fill"></div>
+
<div class="colorable fill"><center><a href="#">▲</a></center></div>
 
<div class="colorable hexagon1"></div>
 
<div class="colorable hexagon1"></div>
 
<div class="colorable hexagon2"></div>
 
<div class="colorable hexagon2"></div>
Line 22: Line 22:
 
         <div class="bar">
 
         <div class="bar">
 
<div class="bar-wrap">
 
<div class="bar-wrap">
<div class="disclaimer">
+
                                <div class="disclaimer">
<li>
+
    <a href="mailto:igem@rwth-aachen.de">Contact</a>
<a href="#">Contact</a>
+
</li>
+
<li>
+
<a href="#">Disclaimer</a>
+
</li>
+
 
</div>
 
</div>
 
<div class="clear"></div>
 
<div class="clear"></div>
Line 35: Line 30:
 
         </div>
 
         </div>
 
</div>
 
</div>
 
    <!-- Plugin JavaScript -->
 
<!--    <script src="http://igem.rwth-aachen.de/2015/index.php/Template:Team:Aachen/JS/JQueryEasingMin?action=raw&ctype=text/javascript"></script> -->
 
 
    <!-- Custom Theme JavaScript -->
 
<!--    <script src="http://igem.rwth-aachen.de/2015/index.php/Template:Team:Aachen/JS/Theme1?action=raw&ctype=text/javascript"></script> -->
 
 
  
 
<!-- Fancybox Script -->
 
<!-- Fancybox Script -->
<script src="http://igem.rwth-aachen.de/2015/index.php/Template:Team:Aachen/JS/jquery_fancybox_pack_js?action=raw&ctype=text/javascript"></script>
+
<script src="https://2015.igem.org/Team:Aachen/Template:Team:Aachen/JS/jquery_fancybox_pack_js?action=raw&ctype=text/javascript"></script>
  
 
     <!-- Interactive Tour Script -->
 
     <!-- Interactive Tour Script -->
<script src="http://igem.rwth-aachen.de/2015/index.php/Template:Team:Aachen/JS/Tour?action=raw&ctype=text/javascript"></script>
+
<script src="https://2015.igem.org/Team:Aachen/Template:Team:Aachen/JS/Tour?action=raw&ctype=text/javascript"></script>
  
 
<script>
 
<script>
Line 59: Line 47:
 
$(".headline_bg").ready(function () {
 
$(".headline_bg").ready(function () {
  
if (IsTourSite() == true){
+
    if (IsTourSite() == true) {
var heading = $('.headline').html();
+
        var heading = $('.headline').html();
}
+
    }
else {
+
    else {
var heading = $("#firstHeading").html();
+
        var heading = $("#firstHeading").html().replace('<span dir="auto">', '').replace("</span>", "");
}
+
    }
var splits = heading.split("/");
+
    var siteUrl = window.location.href;
var output = '<span class="hidden-xs hidden-sm">';
+
    switch (heading.trim())
var pages = window.location.href.split('/');
+
    {
for (i = 0; i < splits.length - 1; i++)
+
        case "Team:Aachen/Software":
if (splits[i].trim() != "Team:Aachen")
+
            heading = "Team:Aachen/Lab/Bioreactor/Software";
output += '<a href="' + pages.slice(0, pages.length - splits.length + 1 + i).join('/') + '">' + splits[i] + '</a> / ';
+
            siteUrl = siteUrl.replace("Team:Aachen/Software", "Team:Aachen/Lab/Bioreactor/Software");
output += '</span>' + splits[splits.length-1].replace("Team:Aachen", "iGEM Aachen");
+
            break;
$(".headline_fill").html(output);
+
        case "Team:Aachen/Modeling":
$(".hl_shadow").html(output);
+
            heading = "Team:Aachen/Lab/Modeling";
return false;
+
            siteUrl = siteUrl.replace("Team:Aachen/Modeling", "Team:Aachen/Lab/Modeling");
 +
            break;
 +
    }
 +
    var splits = heading.split("/");
 +
    var pages = siteUrl.split('/');
 +
    var output = '<span class="hidden-xs hidden-sm">';
 +
    for (i = 0; i < splits.length - 1; i++) {
 +
        if (splits[i].trim() != "Team:Aachen")//do not attach the link for the landing page
 +
        {
 +
            switch (splits[i]) {
 +
                case "Notebook": output += splits[i] + " / "; break; // do not link to these level-1-pages
 +
                case "Documentation": break;
 +
                default:
 +
                    output += '<a href="' + pages.slice(0, pages.length - splits.length + 1 + i).join('/') + '">' + splits[i] + '</a> / ';
 +
            }
 +
        }
 +
    }
 +
    output += '</span>' + splits[splits.length - 1].replace("Team:Aachen", "iGEM Aachen");
 +
    $(".headline_fill").html(output);
 +
    $(".hl_shadow").html(output);
 +
    return false;
 
});
 
});
 
</script>
 
</script>
Line 109: Line 117:
 
}
 
}
 
     });
 
     });
 
 
 
 
 
</script>
 
</script>
  
  
 
+
<!--Mousover for Menu-->
 
+
 
+
 
+
 
+
 
+
 
<script>
 
<script>
 +
var t;
 +
$(".dropdown-menu li.dropdown").on("mouseenter", function () {
 +
$('.ac-submenu').hide();
 +
$(this).find( ".dropdown-menu").show();
 +
});
  
jQuery(".dropdown-menu li.dropdown").on("mouseenter", function () {
+
$(".ac-submenu").on("mouseleave", function () {
+
t = setTimeout(function () {
jQuery(this).find( ".dropdown-menu").css({ "display": "inline-block" }, "slow" );
+
$(".ac-submenu").hide();
+
        }, 1000);
}).on("mouseleave", function () {
+
});
+
 
jQuery(this).find( ".dropdown-menu").css({ "display": "none" }, "slow" );
+
$(".ac-submenu").on("mouseenter", function () {
+
      clearTimeout(t);
 
});
 
});
 
</script>
 
</script>
  
    <!-- references script -->
+
<!-- member popup script -->
    <script src="http://igem.rwth-aachen.de/2015/index.php/Template:Team:Aachen/JS/references?action=raw&ctype=text/javascript"></script>
+
<script src="https://2015.igem.org/Team:Aachen/Template:Team:Aachen/JS/memberpopup?action=raw&ctype=text/javascript"></script>
   
+
<!-- Figure template -->
    <!-- member popup script -->
+
<script src="https://2015.igem.org/Team:Aachen/Template:Team:Aachen/JS/figureac?action=raw&ctype=text/javascript"></script>
    <script src="http://igem.rwth-aachen.de/2015/index.php/Template:Team:Aachen/JS/memberpopup?action=raw&ctype=text/javascript"></script>
+
+
<!-- Figure template -->
+
    <script src="http://igem.rwth-aachen.de/2015/index.php/Template:Team:Aachen/JS/figureac?action=raw&ctype=text/javascript"></script>
+
  
  
Line 146: Line 148:
 
     <script>
 
     <script>
 
         $('p').each(function () {
 
         $('p').each(function () {
             var templ = '<a href="http://tubefront.com/iGEM_Aachen/editcontainer.php?id=$1" onmouseover="loadTooltip(this,' + "'$1'" + ')">$1</a>';
+
             var templ = '<a href="http://tubefront.com/public/iGEM_Aachen/editcontainer.php?id=$1" onmouseover="loadTooltip(this,' + "'$1'" + ')">$1</a>';
 
             var replaced = $('body').html().replace(/#(\S*)#/g, templ);
 
             var replaced = $('body').html().replace(/#(\S*)#/g, templ);
 
             $('body').html(replaced);
 
             $('body').html(replaced);

Latest revision as of 03:45, 19 September 2015