Question about Images Scroller Pending

0

Hello,

Before I purchase, is there a way to trigger the fullscreen view of Responsive Photo Gallery for Images programatically?

I realize you can click the full screen icon but if I had a div where I create a click function, would there be a way to trigger full screen view using something like:

jQuery("button.TriggerFull").click(function(){

// code to trigger full screen here

});

If so can you let me know what I would use there. If this is supported, will be buying the extension today.

Jordan

210 views  •  Asked 8 months ago  •  by Jordan Weinstein

3  Answers

0

Thank you! I'm glad you like our extensions.

You can use the following method to close the fullscreen:

...
...
fotorama.cancelFullScreen();
...
Answered 8 months ago  •  by Yannis
0

Wonderful!

If you can share a method for exiting fullscreen, then we are in business :)

I already subscribe to Minitek Wall Pro. Your extensions are things of beauty.

Jordan

Answered 8 months ago  •  by Jordan Weinstein
0

Hi there,

Yes, this is possible with the following code:

var $fotoramaDiv = jQuery("#rpgi_id .fotorama").fotorama();
var fotorama = $fotoramaDiv.data("fotorama");
jQuery("button.TriggerFull").click(function(){			
	fotorama.requestFullScreen();
});  
  

where rpgi_id is the id of the gallery container.

Answered 8 months ago  •  by Yannis

Please login to post an answer

This website uses cookies to ensure that you get the best user experience. Cookies Policy / Privacy Policy

Search