Team:Heidelberg

From 2013.igem.org

(Difference between revisions)
Line 366: Line 366:
   $(document).ready(function() {
   $(document).ready(function() {
     $("#langmodal").modal("show");
     $("#langmodal").modal("show");
-
     $.fancybox.inner.find('iframe').attr('id');
+
     $(".fancybox")
 +
            .attr('rel', 'gallery')
 +
            .fancybox({
 +
                openEffect  : 'none',
 +
                closeEffect : 'none',
 +
                nextEffect  : 'none',
 +
                prevEffect  : 'none',
 +
                padding    : 0,
 +
                margin      : 50,
 +
                beforeShow  : function() {
 +
                    // Find the iframe ID
 +
                    var id =
 +
                    $.fancybox.inner.find('iframe').attr('id');
                      
                      
                     // Create video player object and add event listeners
                     // Create video player object and add event listeners

Revision as of 19:17, 26 October 2013