Categories

System Admin
DXM
Documents
Data

Links

JS HTML Widget

The JS HTML Widget is a powerful and versatile tool for adding additional code and app configs to your website. It gives you the ability to add JS Files, Raw Javascript, and HTML.

How to add the JS/HTML Widget

  • Create / Edit a Page in Elementor
  • Go to the list of widgets and search for “JS/HTML Widget”.
  • Drag and drop the widget onto the screen area on the right.
Capabilities of the JS HTML Widget
Unlike the advanced JS HTML widget, the JS HTML Widget has three basic input areas. The first is the JS Files area where you can place a URL to a JS file. You can also place multiple files by separating them with a Comma. The second area you can area is where you can place Raw Javascript. The final area is where you need to input your HTML.
Widget Overview
  1. The first area you will see is the JS files area. This is where you can add in a .JS URL. You can add multiple by separating each of them with a Comma (,)
  2. The next area is where you can add raw JS code. The< script > tags are automatically added by the widget so you just need to add in the relevant code between the opening and closing < script > tag.
    • You can also toggle the “disable deferring execution” function.
    • Deferred execution means that code is specified now but will run later. It greatly improves performance by avoiding unnecessary execution.
  3. The third area is the HTML area. You can add your HTML in this area. This area does not support any Raw Javascript or JS files.

How to activate Kurtosys Widgets

Some widgets within DXM are turned off by default and you will have to go into the site’s Network area to activate them. In this short tutorial, we will show you how to do that. 

  1. Open your instance
  2. Go to the network area
  3. Once the network site is loaded. You will see the Kurtosys Extensions side menu item. Click on it.
  4. This will take you to the Kurtosys Extensions. This area contains all of the Kurtosys widgets as well as some other extensions of DXM.
  5. Below each extension card, there is a toggle. With this toggle, you can switch a widget/extension on or off.