0

I'm using the fancybox with TYPO3 v6.1.5. Everything is fine, only the ie7 doesn't show any popup for an image or an iframe. This is my code:

$(document).ready(function() {   
  $(".fancybox").fancybox({
    prevEffect : 'fade',
    nextEffect : 'fade',
    fitToView : false, // to show videos in their own size
    scrolling: 'no', // don't show scrolling bars in fancybox        
    minWidth : 450,
    maxWidth : 600,
    mouseWheel : 'true',
     beforeShow : function() {
       this.title = (this.title ? '' + this.title + '' : '') + ' (' + (this.index + 1) + '/' + this.group.length + ')';
    },
    helpers : {
      title : { type : 'outside' },
      overlay: { locked: false },
      // buttons : {}
    },
  });
  // iFrame Content
  $("a[target=fancybox]").fancybox({       
    // ohne untere Navigationszeile
    // autoSize : false,
    width : 600,
    height : 340,
    type : 'iframe',
    iframe: {
      scrolling : 'no',
      preload   : 'false'
    },      
    helpers : {
      title : { type : 'outside' },
      overlay: { locked: false },
      // buttons : {}
    },        
  });
});

The doctype is:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="de" lang="de" xmlns="http://www.w3.org/1999/xhtml">

Thanks for any hints Thomas

4

0 回答 0