Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Global events are also deprecated.</p> <p>Here's a patch, which fixes the browser and event issues:</p> <pre><code>--- jquery.fancybox-1.3.4.js.orig 2010-11-11 23:31:54.000000000 +0100 +++ jquery.fancybox-1.3.4.js 2013-03-22 23:25:29.996796800 +0100 @@ -26,7 +26,9 @@ titleHeight = 0, titleStr = '', start_pos, final_pos, busy = false, fx = $.extend($('&lt;div/&gt;')[0], { prop: 0 }), - isIE6 = $.browser.msie &amp;&amp; $.browser.version &lt; 7 &amp;&amp; !window.XMLHttpRequest, + isIE = !+"\v1", + + isIE6 = isIE &amp;&amp; window.XMLHttpRequest === undefined, /* * Private methods @@ -322,7 +324,7 @@ loading.hide(); if (wrap.is(":visible") &amp;&amp; false === currentOpts.onCleanup(currentArray, currentIndex, currentOpts)) { - $.event.trigger('fancybox-cancel'); + $('.fancybox-inline-tmp').trigger('fancybox-cancel'); busy = false; return; @@ -389,7 +391,7 @@ content.html( tmp.contents() ).fadeTo(currentOpts.changeFade, 1, _finish); }; - $.event.trigger('fancybox-change'); + $('.fancybox-inline-tmp').trigger('fancybox-change'); content .empty() @@ -612,7 +614,7 @@ } if (currentOpts.type == 'iframe') { - $('&lt;iframe id="fancybox-frame" name="fancybox-frame' + new Date().getTime() + '" frameborder="0" hspace="0" ' + ($.browser.msie ? 'allowtransparency="true""' : '') + ' scrolling="' + selectedOpts.scrolling + '" src="' + currentOpts.href + '"&gt;&lt;/iframe&gt;').appendTo(content); + $('&lt;iframe id="fancybox-frame" name="fancybox-frame' + new Date().getTime() + '" frameborder="0" hspace="0" ' + (isIE ? 'allowtransparency="true""' : '') + ' scrolling="' + selectedOpts.scrolling + '" src="' + currentOpts.href + '"&gt;&lt;/iframe&gt;').appendTo(content); } wrap.show(); @@ -912,7 +914,7 @@ busy = true; - $.event.trigger('fancybox-cancel'); + $('.fancybox-inline-tmp').trigger('fancybox-cancel'); _abort(); @@ -957,7 +959,7 @@ title.empty().hide(); wrap.hide(); - $.event.trigger('fancybox-cleanup'); + $('.fancybox-inline-tmp, select:not(#fancybox-tmp select)').trigger('fancybox-cleanup'); content.empty(); </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload