Team:DTU-Denmark/Mark/template
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) (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 --> | ||
<!-- *********** --> | <!-- *********** --> | ||
- | + | <script src="https://2014.igem.org/Team:DTU-Denmark/Mark/jquery?action=raw&ctype=text/javascript" type="text/javascript"></script> <!-- loads jquery--> | |
- | + | <script src="https://2014.igem.org/Team:DTU-Denmark/Mark/slimbox?action=raw&ctype=text/javascript" type="text/javascript"></script> <!-- loads Munich 13 version of slimbox --> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | <script src="https://2014.igem.org/Team:DTU-Denmark/ | + | |
- | < | + | |
+ | <link href="https://2014.igem.org/Team:DTU-Denmark/Mark/slimboxcss?action=raw&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]--> | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<!-- Navigation scroll follow --> | <!-- Navigation scroll follow --> |
Latest revision as of 09:26, 18 July 2014