• I want to force a livechat element — activated via a script embedded right there in the page editor — to hide after several seconds. Below are the script and the setTimeout code I tried. Perhaps, I am just not putting the timeout function in the correct place. Suggestions, and Thanks!

    The script:
    <script src="https://www.sellwithchat.com/scripts/invitation.ashx?company=allisonlaw"></script>

    The timeout I am trying to use:
    setTimeout('$(#div.livechat_body).hide()',1500)

    allisonlaw.com

Viewing 1 replies (of 1 total)
  • Thread Starter allisonluke

    (@allisonluke)

    Clarification:

    The chat box consists of no less than six separate elements…yeah. And I do not want to timeout all of them, just everything but the cute little “Start Chat” bubble. So, I can’t just timeout the entire script.

Viewing 1 replies (of 1 total)
  • The topic ‘Can I set a timeout for livechat script’ is closed to new replies.