TypeError: t is undefined
..fancybox/jquery.fancybox-1.3.4.pack.js
Line 18
Ik blijf maar deze foutmelding krijgen
6.076 views
Try calling "$.fancybox.init();" before triggering (reference).
Also, try verifying that "fancybox.js" is not called twice for some reason.
jQuery(document).ready(function(){
/* Fancy Box */
jQuery.fancybox.init();
jQuery(".fancy-box").fancybox({
'overlayColor': "#111",
'overlayOpacity': 0.7,
'easingIn' : 'easeInBack',
'easingOut' : 'easeOutBack'
});
jQuery("#contact-me").fancybox({
'easingIn' : 'easeInBack',
'easingOut' : 'easeOutBack',
'padding' : 40,
'overlayColor': "#111",
'overlayOpacity': 0.7,
'scrolling' : 'no',
'titleShow' : false
});
jQuery(document).ready(function(){
/* Fancy Box */
jQuery.fancybox.init();
jQuery(".fancy-box").fancybox({
'overlayColor': "#111",
'overlayOpacity': 0.7,
'easingIn' : 'easeInBack',
'easingOut' : 'easeOutBack'
});
jQuery("#contact-me").fancybox({
'easingIn' : 'easeInBack',
'easingOut' : 'easeOutBack',
'padding' : 40,
'overlayColor': "#111",
'overlayOpacity': 0.7,
'scrolling' : 'no',
'titleShow' : false
});
jQuery(document).ready(function(){
/* Fancy Box */
jQuery(".fancy-box").fancybox({
'overlayColor': "#111",
'overlayOpacity': 0.7,
'easingIn' : 'easeInBack',
'easingOut' : 'easeOutBack'
});
jQuery("#contact-me").fancybox({
'easingIn' : 'easeInBack',
'easingOut' : 'easeOutBack',
'padding' : 40,
'overlayColor': "#111",
'overlayOpacity': 0.7,
'scrolling' : 'no',
'titleShow' : false
});
/* Cufon font replacement */
Cufon.replace('h1');
Cufon.replace('h2');
Cufon.replace('h3');
Cufon.replace('h4');
Cufon.replace('.top-description');
Cufon.now();
var $query = '',
$elem = jQuery("#tooltip");
jQuery("#background-switcher a").click(function(){
var $backgr = jQuery(this).parent().css('background');
jQuery("body").css({
'background': $backgr,
'background-attachment':'fixed',
'background-position':'0 0'
});
});
jQuery(".controls li").not('#tooltip').hover(
function () {
clearTimeout($query);
if($elem.attr("class") === 'active'){
$elem.clearQueue().animate({'left': (jQuery(this).position().left - 38 ) + 'px'}, 300);
$elem.text(jQuery(this).attr('title'));
}
if ($elem.attr("class") === 'inactive'){
$elem.css({'left': (jQuery(this).position().left - 38 )+ 'px'}).css({'top': (jQuery(this).position().top + 40) + 'px'}).fadeIn("slow").attr('class','active');
$elem.html(jQuery(this).attr('title'));
}
},
function () {
$query = setTimeout( function(){ $elem.fadeOut("fast", function(){$elem.css({'left':'0'}).attr('class','inactive'); }); } ,500);
}
);
jQuery(".controls li a").click(function(){
$elem.fadeOut("fast", function(){$elem.css({'left':'0'}).attr('class','inactive'); });
});
jQuery(".controls li a#print").click(function(){
$elem.fadeOut("fast", function(){$elem.css({'left':'0'}).attr('class','inactive'); });
window.print();
return false;
});
jQuery('#middle-content ul.list>li:nth-child(even)').not('.arrow-up').css({ 'background': '#e6e6e6'});
jQuery('#middle-content ul.list>li:nth-child(odd)').not('.arrow-up').css({ 'background': '#f6f6f6'});
jQuery('#middle-content ul.list:last-child').css({'margin-bottom':'0'});
'easingIn' : 'easeInBack',
'easingOut' : 'easeOutBack',
'padding' : 40,
'overlayColor': "#111",
'overlayOpacity': 0.7,
'scrolling' : 'no',
'titleShow' : false
jQuery(".fancy-box").fancybox({
overlay : {
css : {
'background' : '#111',
'opacity' : 0.7
}
}