Fullscreen support for modal window (aka lightbox)

  • Hello

    I've crawled the forum and find a lot of questions but no real answers about my issue.
    I've understood that when you use an iframe you have to specify the allowfullscreen in the iframe parameters to allow to switch to full screen.

    But I'm using a lightbox (modal window) and don't find any solution to pass this parameter to shadowbox.

    Here is an example https://vue-360.com/fr/project/mai…ouvres-piece-1/

    The link is using the attribute rel="shadowbox" to invoke the shadowbox functionnality.

    Any idea ?

    Best regards
    Cedric

  • Doesn't seem Michael Jackson has touched Shadowbox in years and this is one of it's biggest shortcomings. I tried modifying his code myself but it wasn't worth the effort. Just create a floating div (absolute positioning) and place an iframe in that. If you want to get fancy set the div inside another full window div with a medium alpha image to gray out the background.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!