have you tried using the new fancybox instead? http://fancyapps.com/fancybox/
This is the first couple lines in the jquery.fancybox-1.3.4.js file
;(function($) {
var tmp, loading, overlay, wrap, outer, content, close, title, nav_left, nav_right,
selectedIndex = 0, selectedOpts = {}, selectedArray = [], currentIndex = 0, currentOpts = {}, currentArray = [],
ajaxLoader = null, imgPreloader = new Image(), imgRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i, swfRegExp = /[^\.]\.(swf)\s*$/i,
loadingTimer, loadingFrame = 1,
titleHeight = 0, titleStr = '', start_pos, final_pos, busy = false, fx = $.extend($('<div/>')[0], { prop: 0 }),
isIE6 = $.browser.msie && $.browser.version < 7 && !window.XMLHttpRequest,
It'll fail here
isIE6 = $.browser.msie && $.browser.version < 7 && !window.XMLHttpRequest,
because jquery.browser
has been removed as of 1.9 unless you include jquery.migrate https://api.jquery.com/jquery.browser/
Since it fails there - $.fancybox never get's a chance to get declared so that's why you're getting the 2 errors.
The new fancybox doesn't use jQuery.browser
and is using IE = navigator.userAgent.match(/msie/i)
instead
So you have to choose 1 of the below
- use new fancybox
- use an older jquery library
- include jquery.migrate