Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide thumbs in fullscreen mode #48

Closed
madhaze opened this issue Aug 3, 2013 · 3 comments
Closed

Hide thumbs in fullscreen mode #48

madhaze opened this issue Aug 3, 2013 · 3 comments

Comments

@madhaze
Copy link

madhaze commented Aug 3, 2013

Is it possible to hide thumbnails in fullscreen mode? I'm using the html slides.

also can you hide captions (fotorama__wrap--no-controls) be the default setting for touch devices

@bender-r
Copy link

bender-r commented Aug 3, 2013

maybe

$('.fotorama')
  .on('fotorama:fullscreenenter fotorama:fullscreenexit', function (e, fotorama) {
    if (e.type === 'fotorama:fullscreenenter') {
      // settings for full screen
      fotorama.setOptions({nav: false});
    } else {
      // Back to normal settings
      fotorama.setOptions({nav: 'thumbs'});
    }
  }).fotorama();

@madhaze
Copy link
Author

madhaze commented Aug 3, 2013

@bender-r -Thanks that worked great. Just what i needed

@artpolikarpov
Copy link
Owner

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants