Lightbox Type Content with the “Go Fullscreen” Feature - Slider Revolution

Hello,
I followed the guide HERE and pasted th Css/JAvascript code in my slider, changing from revapi28 (in their example) to revapi26 (my case) but the “hide arrows and bullets when the video is playing” doesn’t work?

I think it have something to do with some class changes, maybe they don’t use this classes anymore?
I’ll post the full code here:

CSS

/* hide default navigation while lightbox is open */
.rev_slider .hide-rev-nav {visibility: hidden !important}

Javascript

/*
set your slider's api name here
http://www.themepunch.com/revslider-doc/slider-settings/#api
*/
var api = revapi26;

/* ********************* */
/* no need to edit below */
/* ********************* */
window.hideRevNav = function() {

	jQuery('.tp-thumbs,' + 
           '.tparrows,' + 
           '.tp-bullets,' + 
           '.tp-tabs,' + 
           '.tp-open-lightbox').addClass('hide-rev-nav');
	
}

window.showRevNav = function() {

	jQuery('.tp-thumbs,' + 
           '.tparrows,' + 
           '.tp-bullets,' + 
           '.tp-tabs,' + 
           '.tp-open-lightbox').removeClass('hide-rev-nav');
	
}


jQuery(document).on('keyup', function(event) {

	if(event.keyCode === 27) {
		
		api.find('.active-revslide .close-lightbox').click();
		
	}

});

Unfortunately the website is currently being developed in a XAMMP enviroment so i can’t give you any access.

P.S.
I download and used as example for the code and layers setup the “HTML 5 Video” example.

Can you help me?

Thanks and have a good day.

Hi Fabio,

Thanks for writing in.

I can’t really verify the issue in your local installation, but I followed the guide and it works well and there are no arrows when the lightbox is open.

I recommend setting up your site online so we could check. But, we can’t provide support or cover any changes in the provided code from that guide. It’s custom one that is provided by themepunch.

Thanks!

Thank you for the fast reply Rad.
Can i ask you in which browser did you used?

So when you tried there were neither arrows nor bullets, right?

Thanks


nevermind, problem solved! I was writing the wrong function inside the Actions of the layer

Thanks again

Hey Fabio,

We are just glad that you have figured it out a way to correct the said issue.
Thanks for letting us know!

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.