$("#presets_bk5").live("click", function(){ $.fancybox({ 'overlayColor' : '#000', 'overlayOpacity': 0.8, 'scrolling' : 'auto', 'padding' : 0, 'autoScale' : false, 'transitionIn' : 'elastic', 'speedIn' : 1000, 'transitionOut' : 'elastic', 'title' : '', 'width' : 620, 'height' : 570, 'href' : 'bk5_presets.php', 'type' : 'iframe' }); return false; });