Insert JS - Question | JoomShaper

Insert JS

R

Raphael

SP Page Builder 4 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?

0
2 Answers
Anne
Anne
Accepted Answer
Support Agent 4 years ago #21272

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

0
R
Raphael
Accepted Answer
4 years ago #21275

Hi,

this works, but not right.

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

0