New Landing How can we help? Cardinal Google map asset within tabs & accordions bugs

Viewing 6 posts - 16 through 21 (of 21 total)
  • Posted in: Cardinal
  • #126720
    FlawlessWeb
    Member
    Post count: 542
    This reply has been marked as private.
    #126960
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779
    This reply has been marked as private.
    #126961
    FlawlessWeb
    Member
    Post count: 542
    This reply has been marked as private.
    #126968
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    In my testing the gallery is displaying fine, also the console log text doesn’t appear anymore. Can you clear the cache and try again?

    -Rui

    #126971
    FlawlessWeb
    Member
    Post count: 542

    Cleared my cache and seems to be working ok now.

    Is the jquery snipped you added to my custom js box going to be included in the next update?

    jQuery('ul.nav-tabs li a, .spb_accordion_section > h4 a').on('click', '', function(){
        var thisTab = jQuery(this),
         asset = thisTab.parents('.spb_content_element').first();
         
         if (asset.find('.map-canvas').length > 0) {     
             setTimeout(function() {
                 jQuery(window).trigger('resize');
                 var map = asset.find('.map-canvas');
                 SWIFT.map.init();
            }, 100);
         }
       });
    #126974
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Yes, it will be placed inside the main function.js
    Then you can remove that code from the custom js.

    -Rui

Viewing 6 posts - 16 through 21 (of 21 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register