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:

 /javascript:void(Tawk_API.toggle()) 

And:

 javascript:void(Tawk_API.toggle()) 

How can I do this?

The site with Livechat is:

www.vuxi.com

Replay

You can easily achieve this by using Void Menu module.

  1. Download & Install Void Menu module.
  2. Go to http://www.yoursite.com/admin/config/user-interface/void_menu
  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

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

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