Hello. I have already looked for several examples of how to call a Pop-up Fancybox by passing the size of the window by parameters in my function.
Ex.
AbrirPopUp(url,w, h)
{
chamar #Fancybox(url,w,h)
}
<a href="Javascript:AbrirPopUp("janela1.htm",700,500)">Janela 1</a>
<a href="Javascript:AbrirPopUp("janela2.htm",900,400)">Janela 2</a>
<a href="Javascript:AbrirPopUp("janela3.htm",400,100)">Janela 3</a>