hi
i have dynamic page with iframes thet connected to dataset. ( work perfect )
but is not in full screen !
So I was thinking of creating a button to open lightbox
Then within the lightbox display the iframe but in full screen.
It is possible ?
i am use this cod to display the url from dataset in ifram ( work perfect ) :
$w.onReady( function () {
let url = $w( ‘#dynamicDataset’ ).getCurrentItem().url
$w( “#html1” ).src = url;
});
another way :
enable IFRAM to open full screen (but inside my site and not external link)
Thank you
moshe 
There is this example already for allow fullscreen with the html component.
https://www.wix.com/corvid/forum/corvid-tips-and-updates/example-fullscreen-with-htmlcomponent
Or just do what you have already suggested in your original post and simply have a full page lightbox with the html iFrame inside of that.
So you simply link the page code to your required lightbox and then on the lightbox page put the code for the required url.
You will probably need to pass data from the page to the lightbox so that your lightbox knows which one to show, which you can do as shown here.
https://www.wix.com/corvid/reference/wix-window.lightbox.html
How do I pass data between a page and a lightbox?
When you open a lightbox using the openLightbox() function, you can pass an object containing data to be used in the lightbox. In the lightbox’s code, you call the getContext() function to retrieve the data sent by the openLightbox() function.
When you close the lightbox using the close() function, you can pass an object containing data to be used by the page that opened the lightbox. This data is retrieved from the resolution of the Promise returned by the openLightbox() function.