Team:DTU-Denmark/Mark/template

From 2014.igem.org

(Difference between revisions)
(Undo revision 33467 by Tbjohannesen (talk))
 
(2 intermediate revisions not shown)
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 -->
<!-- *********** -->
<!-- *********** -->
-
<!-- jQuery library (served from Google) -->
+
<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="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
+
<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 -->
-
<!-- bxSlider Javascript file -->
+
-
<script src="/js/jquery.bxslider.min.js"></script>
+
-
<!-- bxSlider CSS file -->
+
-
<link href="/lib/jquery.bxslider.css" rel="stylesheet" />
+
-
<script src="https://2014.igem.org/Team:DTU-Denmark/imageslide.js?action=raw&ctype=text/javascript" type="text/javascript"></script>
+
-
<link rel="stylesheet" href="https://2014.igem.org/Team:DTU-Denmark/imageslide.css?action=raw&ctype=text/css" type="text/css" />
+
 +
<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 26: Line 40:
     <![endif]-->
     <![endif]-->
      
      
-
    <!-- 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 -->

Latest revision as of 09:26, 18 July 2014