Team:DTU-Denmark/Mark/template

From 2014.igem.org

(Difference between revisions)
 
(6 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
 
+
<head>
<!-- STYLESHEET -->
<!-- STYLESHEET -->
<!-- *********** -->
<!-- *********** -->
Line 8: Line 8:
   <link rel="icon" type="image/png" size="16x16" href="https://static.igem.org/mediawiki/2013/1/16/DTU-n2o-favicon.png"/>   
   <link rel="icon" type="image/png" size="16x16" href="https://static.igem.org/mediawiki/2013/1/16/DTU-n2o-favicon.png"/>   
    
    
 +
 +
 +
<!-- JAVASCRIPTS -->
<!-- JAVASCRIPTS -->
<!-- *********** -->
<!-- *********** -->
 +
<script src="https://2014.igem.org/Team:DTU-Denmark/Mark/jquery?action=raw&amp;ctype=text/javascript" type="text/javascript"></script>  <!-- loads jquery-->
 +
<script src="https://2014.igem.org/Team:DTU-Denmark/Mark/slimbox?action=raw&amp;ctype=text/javascript" type="text/javascript"></script>  <!-- loads Munich 13 version of slimbox -->
 +
 +
<link href="https://2014.igem.org/Team:DTU-Denmark/Mark/slimboxcss?action=raw&amp;ctype=text/css" type="text/css" rel="stylesheet">                <!-- loads the slimbox css -->
 +
<script type="text/javascript">
 +
$(document).ready(function(){
 +
$("div.thumbinner > a img").slimbox({/* Put custom options here */}, function(el) {
 +
url = el.src;
 +
if (url.indexOf('thumb') != -1) {
 +
url = url.substring(0, url.lastIndexOf('/'));
 +
url = url.replace('/thumb/', '/');
 +
}
 +
description = $(el).parents("div.thumbinner").children("div.thumbcaption").text();
 +
return [url, description];
 +
}, function(el) {
 +
return (this == el);
 +
});
 +
});
 +
 +
</script>
     <!-- ie9.js (fixes all Internet Explorer browsers older than ie9) -->
     <!-- ie9.js (fixes all Internet Explorer browsers older than ie9) -->
     <!--[if lt IE 9]>
     <!--[if lt IE 9]>
Line 17: Line 40:
     <![endif]-->
     <![endif]-->
      
      
-
    <!-- bxSlider Javascript file -->
+
 
-
    <script src="/js/jquery.bxslider.min.js"></script>
+
-
    <!-- jQuery Tools (slider) -->
+
-
    <script src="http://cdn.jquerytools.org/1.2.5/full/jquery.tools.min.js"></script>
+
-
    <script>
+
-
        $(function() {
+
-
        // initialize scrollable
+
-
        $(".scrollable").scrollable().navigator();
+
-
        });
+
-
    </script>
+
     <!-- Navigation scroll follow -->
     <!-- Navigation scroll follow -->
Line 154: Line 168:
});
});
</script>
</script>
 +
</head>
 +
 +
<body>
<!-- HTML CONTENT -->
<!-- HTML CONTENT -->
Line 181: Line 198:
</h1>
</h1>
</div>
</div>
 +
</body>
</html>
</html>

Latest revision as of 09:26, 18 July 2014