Hide/Show templates. Rev slider issues

Hi there!

I have a page here - https://darkknight.dev/terms-conditions/

I have a function to hide/show templates once a button is clicked.

I have duplicate content, the rev slider that is hidden on page load does not display properly once it is shown.

Please go to the page - https://darkknight.dev/terms-conditions/ and click the big red ENG button in the header to understand what I mean.

I hope someone can help :slight_smile: :slight_smile:

Hi @mickster58,

I could see that you’re using this code:

jQuery(document).ready(function($){

	  $('.eng-disp').slideToggle(0);
    $('#eng-disp-btn').on('touchend click',function(e){
       e.preventDefault();
		   $('.eng-disp').slideToggle('slow')
       $('html, body').animate({
           scrollTop: $(".eng-disp").offset().top
       }, 700, 'swing');
 
    })
});

But it seems you forgot to add the button with the eng-disp-btn ID to your term & conditions page.

Could you please double check again?

Let us know how it goes!

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