Team:DTU-Denmark/Mark/template
From 2014.igem.org
(Difference between revisions)
Tbjohannesen (Talk | contribs) |
|||
(One intermediate revision 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 --> | ||
+ | <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) --> | ||
+ | <!--[if lt IE 9]> | ||
+ | <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> | ||
<![endif]--> | <![endif]--> | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
<!-- Navigation scroll follow --> | <!-- Navigation scroll follow --> |
Latest revision as of 09:26, 18 July 2014