Insert JS - Forum | JoomShaper
Awaiting an answer SP Page Builder

Insert JS

Asked by Raphael 5 years ago Last activity 5 years ago

What is the best way to include JS code.

I use LeafletJS to display a map and have to place somewhere my JS code.

In the HTML addon is JS not allowed, so what is the way?

2 replies

Anne Staff

Hello Raphael,

Thanks for contacting with us. Please go to extensions-> template->style->"your template"->template options->custom code-> custom javascript. You can add your js code there.

-Regards

Raphael Asked this

Hi,

this works, but not right.

The custom Javascript will be executed before the new sources (js and css files) are loaded.

Log in to reply.