You are not logged in.

1

Monday, May 18th 2015, 6:40pm

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/maison-di…ouvres-piece-1/

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

Any idea ?

Best regards
Cedric

Scott Witte

Intermediate

Posts: 252

Location: Milwaukee, WI USA

Occupation: Professional Photographer

  • Send private message

2

Sunday, May 31st 2015, 6:32am

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.