I have googled "fancybox, open onload" all afternoon, but none of the answers seems to match what I'm trying to do. My fancybox set-up works like this: www.casedasole.it/fancybox/ i.e. it launches an iframe.
The fancybox website gives two examples of Launch fancyBox on page load
(point 10), but in both cases it's handling images.
The box I want to appear is an iframe with text, and links in it open within the iframe. I found a way of opening onload a hidden div as a fancybox window (see JSFiddle). I got that to work - www.casedasole.it/fancybox/ok.html - in fact it combines both ways of launching the iframe content - as a pop-up hidden div in the launch page, and also from that page's launch button, which launches the actual iframe (close the div-generated window to see).
BUT, what opens onload is not an iframe - so any links within it will open a new page.
So, anybody know if it's possible to launch a fancybox iframe onload? I get the feeling it's not.