View fullscreen link in twelve theme

  • Question
  • Updated 4 years ago
  • Answered
I have the twelve theme and would like to add a 'view fullscreen' link in my site navigation.

I have managed to add the play link by extending the theme as I found on the tutorial ( http://galleria.aino.se/docs/1.2/them... ), but can't seem to do the same for enter_fullscreen.

Would someone please let me know how I can do this, thank you so much!
Photo of infoI

info

  • 10 Posts
  • 0 Likes
  • confused

Posted 4 years ago

  • 1
Photo of infoI

info

  • 10 Posts
  • 0 Likes
This is what I tried, and it didn't work.

View Gallery in Fullscreen

$('#galleria').galleria({
extend: function(options) {

var gallery = this;
$('#fullscreen').click(function() {

gallery.enter_fullscreen();
});
}
});
Photo of David

David, Author

  • 1221 Posts
  • 143 Likes
try gallery.enterFullscreen(); http://galleria.aino.se/docs/1.2/api/...
Photo of infoI

info

  • 10 Posts
  • 0 Likes
thanks, that worked!