New Landing How can we help? Cardinal Promo bar link

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Cardinal
  • #244146
    BryceCSD
    Member
    Post count: 46

    I want to use promo bar with this link: javascript:$zopim.livechat.window.show()

    BUT it does not work as it seems that your code cuts off once it reaches to : colon. Can we get that corrected or is there any other way to do this? Thanks!

    #244152
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste this code at Admin > Theme Option > Custom CSS/JS > custom js.

    <script>
    jquery( document ).ready(function($) {
       $( "#base-promo a" ).click(function(e) {
     e.preventDefault();
      $zopim.livechat.window.show()
    });
    });
    </script>

    Thanks
    Mohammad

    #244160
    BryceCSD
    Member
    Post count: 46
    This reply has been marked as private.
    #244162
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please remove the last code and put # as link there and use this code:-

    <script>
    jQuery( document ).ready(function($) {
    $( “#base-promo a” ).click(function(e) {
    e.preventDefault();
    $zopim.livechat.window.show();
    });
    });
    </script>

    Thanks
    Mohammad

    #244164
    BryceCSD
    Member
    Post count: 46

    Thank you! Great quick turnaround!

    #244172
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great! Thanks Mohammad

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.