nikolas nikolas - 2 months ago 20
jQuery Question

Tawkto display position fixing

I'm using tawkto to chat with visitor. It displays when my page loaded. I want to make visible when visitor scroll to bottom. Is it possible?

Answer

First Make the chat div to display:none and then use the script.

 <style>
   #tawkchat-iframe-container{
     display: none !important;
   }
 </style>

<script>
 $("body").scroll(function(){
   $("#tawkchat-iframe-container").show();
 });
</script>
Comments