• Resolved jomo

    (@jonathanmoorebcsorg)


    Please add option to hide on mobile devices.

    Some mobile visitors raised comment in chat about being confused by chat window taking over the screen on the mobile and not being able to go back (because the chat opens up in a new browser window when on mobile, there is no back button).

    We understand that a mobile screen is a bit small to have chat within the same window, so it is maybe better to have the option to turn it off.

    At the moment this can be done by adding some css like:
    .zls-small.handheld {display:none!important;}
    but an option would b better

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author zohosalesiq

    (@zohosalesiq)

    Hello!

    We’d like to point out that a ‘-‘ shaped button has already been provided on the top right corner of the chat widget to allow visitors to minimise the chat window, to get it out of the way. Hence, an additional ‘back’ button wasn’t necessitated.

    To answer your other reservation – which you rightly guessed to be because of the challenges that a small sized mobile screen poses to us, we’d like to offer a purpose built SalesIQ API designed to hide the chat widget only for visitors on mobile devices.

    <script type="text/javascript">??
    $zoho.salesiq.ready=function(embedinfo){??
    if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {?
    $zoho.salesiq.floatbutton.visible("hide");??
    }??
    }??
    </script>

    We recommend using this, instead of the custom CSS you’re currently using. Do note that this API must be inserted *below* the existing SalesIQ code snippet already on your website, for it to work.

    However, we will check with our developers to see whether an option to hide the chat widget on mobile devices can be provided on the SalesIQ’s user interface itself, for the sake of convenience.

    Regards,
    Zoho SalesIQ Team

    Thread Starter jomo

    (@jonathanmoorebcsorg)

    Hi, thanks for response:

    >allow visitors to minimise the chat window
    that would be on a desktop, mobiles don’t have minimized windows, the concept doesn’t really apply, and the chat opens up in a new window rather than a minimizable frame.

    I’m not sure why the script is recommended.. in the end the script is only setting any attribute which could be set more efficiently by CSS: the CSS always applies, whereas the javascript would wait for the page to load and display the button, and only if and when everything loaded successfully then hide the button.

    Anyway this is a minor point really, it is very encouraging to see you listen to customer feedback.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide chat button on mobile devices’ is closed to new replies.