Sie sind nicht angemeldet.

1

Montag, 18. Mai 2015, 18:40

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

Fortgeschrittener

Beiträge: 382

Wohnort: Milwaukee, WI USA

Beruf: Professional Photographer

  • Nachricht senden

2

Sonntag, 31. Mai 2015, 06:32

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.