<script type="text/javascript"> $.fancybox.open({type: 'inline', href: "#zakaz_ok"}) </script>
$.fancybox.open({ src : '#hidden-content', type : 'inline', opts : { afterShow : function( instance, current ) { console.info( 'done!' ); } } });