• I want to force a livechat element — activated via a script embedded right there in the page editor — to hide after several seconds. The problem I am having is the chat box consists of six different elements. I want to hide all but one of the elements. Below are the script and the setTimeout code I tried with no luck.

    The script:
    <script src=”https://www.sellwithchat.com/scripts/invitation.ashx?company=allisonlaw”></script&gt;

    Below is the timeout I am trying to use. “#div.livechat_body” is just one of the elements I want to hide:
    setTimeout(‘$(#div.livechat_body).hide()’,1500)

    allisonlaw.com

  • The topic ‘setTimeout to hide a script – no luck’ is closed to new replies.