Template:Bielefeld ThickBox

From 2010.igem.org

(Difference between revisions)
 
(2 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
-
<script type="text/javascript" src="http://www.igem-bielefeld.de/galleries/thickbox.js"></script>
+
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
-
<link rel="stylesheet" type="text/css" media="print" href="http://www.igem-bielefeld.de/galleries/thickbox.css" />
+
<script type="text/javascript" src="http://www.igem-bielefeld.de/galleries/jquery.mousewheel-3.0.2.pack.js"></script>
-
<a href="http://www.igem-bielefeld.de/galleries/Waffles/index.html?keepThis=true&TB_iframe=true&height=250&width=400" title="add a caption to title attribute / or leave blank" class="thickbox">Example 1</a>
+
<script type="text/javascript" src="http://www.igem-bielefeld.de/galleries/jquery.fancybox-1.3.1.js"></script>
 +
<link rel="stylesheet" type="text/css" href="http://www.igem-bielefeld.de/galleries/jquery.fancybox-1.3.1.css" media="screen" />
 +
<script type="text/javascript">
 +
$(document).ready(function() {
 +
 +
 
 +
    $(".boxGallery").fancybox({
 +
                'width'                : '90%',
 +
                'height'            : '90%',
 +
                'autoScale'            : false,
 +
                'transitionIn'        : 'none',
 +
                'transitionOut'        : 'none',
 +
                'type'                : 'iframe'
 +
            });
 +
});
 +
</script>
</html>
</html>

Latest revision as of 17:50, 21 October 2010