How to link to live chat TawkTo module pop up window with Drupal 7?

I have Tawkto module installed, and I want to create link on my main menu for:

"Live Chat"

The link is:

  <a href="javascript:void(Tawk_API.toggle())"> Click to Chat </a> 

Now this works fine on static HTML pages, but when I paste it in field for main menu, it doesn't work.

I've tried:




How can I do this?

The site with Livechat is:


You can easily achieve this by using Void Menu module.

  1. Download & Install Void Menu module.
  2. Go to
  3. Set javascript:void(Tawk_API.toggle()) as value for HTML value for <void2>
  4. Then go to main menu configuration and set menu Path as <void2>
Category: links Time: 2016-07-29 Views: 0
Tags: links

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.167 (s). 12 q(s)