Ouvrir la page html dans fancybox

J'ai cherché des exemples en ligne, mais je ne pouvais financer aucun.

Comment puis-je télécharger un nouveau html dans fancybox?

$('#Create').click(function() { $.fancybox({ What should be the content over here? (lets say i want to load stackoverflow.com) }); 

La documentation est directement sur le site, vous pouvez utiliser un iframe:

 $("#iframe").fancybox({ 'width' : '75%', 'height' : '75%', 'autoScale' : false, 'transitionIn' : 'none', 'transitionOut' : 'none', 'type' : 'iframe' }); 

HTML

 <a href="http://www.example?iframe">This goes to iframe</a> or <a id="iframe" href="http://www.example">This goes to iframe</a> 

Vous pouvez trouver toutes ces informations ici: http://fancybox.net/howto