Team:Cornell/header
From 2014.igem.org
(Difference between revisions)
Line 16: | Line 16: | ||
<script type="text/javascript" src="https://2014.igem.org/Team:Cornell/script?action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2014.igem.org/Team:Cornell/script?action=raw&ctype=text/javascript"></script> | ||
<script type="text/javascript" src="https://2014.igem.org/Team:Cornell/script/lightbox?action=raw&ctype=text/javascript"></script> | <script type="text/javascript" src="https://2014.igem.org/Team:Cornell/script/lightbox?action=raw&ctype=text/javascript"></script> | ||
+ | <!-- lightbox --> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function ($) { | ||
+ | $(document).delegate('*[data-toggle="lightbox"]', 'click', function(event) { | ||
+ | event.preventDefault(); | ||
+ | return $(this).ekkoLightbox(); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
Revision as of 19:31, 12 October 2014