Team:DTU-Denmark/Mark/template

From 2014.igem.org

(Difference between revisions)
 
(10 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]>
     <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
     <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
     <![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 -->
Line 137: Line 153:
             });
             });
         </script>
         </script>
 +
<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>
 +
</head>
 +
 +
<body>
<!-- HTML CONTENT -->
<!-- HTML CONTENT -->
Line 164: Line 198:
</h1>
</h1>
</div>
</div>
 +
</body>
</html>
</html>
-
 
-
 
-
$(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);
 
-
});
 
-
});
 

Latest revision as of 09:26, 18 July 2014