Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9136949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T09:01:22+00:00 2026-06-17T09:01:22+00:00

Fancybox breaks with the new jQuery v1.9.0. It affects both, Fancybox v1.3.4 and below

  • 0

Fancybox breaks with the new jQuery v1.9.0.

It affects both, Fancybox v1.3.4 and below – and – v2.1.3 and below.

The errors shown are :

v1.3.4 :

Timestamp: 15/01/2013 10:03:28 AM
Error: TypeError: b.browser is undefined
Source File: ...fancybox/jquery.fancybox-1.3.4.pack.js
Line: 18

… other errors

Uncaught TypeError: Cannot read property 'msie' of undefined jquery.fancybox-1.3.4.pack.js:18
Uncaught TypeError: Object [object Object] has no method 'fancybox'

In v2.1.3 :

Timestamp: 15/01/2013 10:09:58 AM
Error: TypeError: $.browser is undefined
Source File: h.../fancybox2.1.3/jquery.fancybox.js
Line: 139

If you are using this to call jQuery :

<script src="http://code.jquery.com/jquery-latest.js"></script>

… any of your existing fancybox implementations will fail!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T09:01:22+00:00Added an answer on June 17, 2026 at 9:01 am

    It seems like it exists a bug in jQuery reported here : http://bugs.jquery.com/ticket/13183 that breaks the Fancybox script.

    Also check https://github.com/fancyapps/fancyBox/issues/485 for further reference.

    As a workaround, rollback to jQuery v1.8.3 while either the jQuery bug is fixed or Fancybox is patched.


    UPDATE (Jan 16, 2013): Fancybox v2.1.4 has been released and now it works fine with jQuery v1.9.0.

    For fancybox v1.3.4- you still need to rollback to jQuery v1.8.3 or apply the migration script as pointed out by @Manu’s answer.


    UPDATE (Jan 17, 2013): Workaround for users of Fancybox v1.3.4 :

    Patch the fancybox js file to make it work with jQuery v1.9.0 as follow :

    1. Open the jquery.fancybox-1.3.4.js file (full version, not pack version) with a text/html editor.
    2. Find around the line 29 where it says :

      isIE6 = $.browser.msie && $.browser.version < 7 && !window.XMLHttpRequest,
      

      and replace it by (EDITED March 19, 2013: more accurate filter):

      isIE6 = navigator.userAgent.match(/msie [6]/i) && !window.XMLHttpRequest,
      

      UPDATE (March 19, 2013): Also replace $.browser.msie by navigator.userAgent.match(/msie [6]/i) around line 615 (and/or replace all $.browser.msie instances, if any), thanks joofow
      … that’s it!

    Or download the already patched version from HERE (UPDATED March 19, 2013 … thanks fairylee for pointing out the extra closing bracket)

    NOTE: this is an unofficial patch and is unsupported by Fancybox’s author, however it works as is. You may use it at your own risk 😉

    Optionally, you may rather rollback to jQuery v1.8.3 or apply the migration script as pointed out by @Manu’s answer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the jQuery fancybox 2 plugin in use on my site. In development
My website contains : 1.FancyBox (for image overlay) 2.GalleryView (a slider) and both use
I can't get fancybox to open my links in iframe. My code below. Thanks!
The new license for Fancybox 2 states we cant use this plugin for commercial
I have put fancybox (jquery plugin ) inside the assets/javascripts/includes/jquery.fancybox-1.3.4 Before this location i
I am using the latest Fancybox 1.3.4 and the latest jQuery 1.6.1 and I
I'm using Fancybox for a jQuery lightbox and it only works with one href
I'm using the fancybox jQuery plugin and right now, it's being called with a
I am using jQuery Fancybox for a popup registration form here I would like
I'm using jQuery fancybox http://fancyapps.com/fancybox/ for soundcloud tracks in my web application where it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.