Funzione fancybox applicata ad un elemento (e questo funziona correttamente !):

codice:
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery("#test").click(function() {
		jQuery.fancybox({
				'padding'		: 0,
				'autoScale'		: false,
				'transitionIn'	: 'none',
				'transitionOut'	: 'none',
				'title'			: 'GOOGLE.IT',
				'width'		: (jQuery(window).width() - 100),
				'height'		: (jQuery(window).height() - 100),
				'href'			: 'http://www.google.it',
				'type'			: 'iframe'
			});
	});
});
</script>

GOOGLE.IT
Come dovrei modificare l'hyperlink per richiamare fancybox direttamente in un tag a href senza ID ?

codice:
<a href="
javascript:(function(){
		jQuery.fancybox({
				'padding'		: 0,
				'autoScale'		: false,
				'transitionIn'	: 'none',
				'transitionOut'	: 'none',
				'title'			: 'GOOGLE.IT',
				'width'		: (jQuery(window).width() - 100),
				'height'		: (jQuery(window).height() - 100),
				'href'			: 'http://www.google.it',
				'type'			: 'iframe'
			});
})
">GOOGLE.IT</a>