Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1268729
    Rad
    Moderator
    This reply has been marked as private.
    #1276049
    sguilliard
    Participant

    That’s because I’ve changed it to open within the same window. I’ll change it back so you can test again…

    #1276320
    sguilliard
    Participant

    OK, I’ve solved the problem, by adapting the code from this thread: https://community.theme.co/forums/topic/essential-grid-lightboxpopup-links-wont-work/page/2/

    jQuery(document).ready(function($){
    	$('.eg-ajax-a-button').click(function(){
    		$(document).ajaxSuccess(function() {
    			$('.esgbox-opened a.btn-blank-window').click(function( e ){
                                    e.preventDefault();
                                    e.stopImmediatePropagation();
    				e.stopPropagation();
    				var URL = $(this).attr('href');
    				window.open(URL);			
    			});
    		});
    	});
    });
    #1276397
    Rad
    Moderator

    Glad to hear that and thanks for sharing 🙂

  • <script> jQuery(function($){ $("#no-reply-1261081 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>