window.onload = function() { $("a.thumb").fancybox({ 'titlePosition': 'inside', 'transitionIn': 'none', 'transitionOut': 'none' }); }