Atozed Forums
Import script object - Printable Version

+- Atozed Forums (
+-- Forum: Atozed Software Products (
+--- Forum: IntraWeb (
+---- Forum: English (
+----- Forum: IntraWeb General Discussion (
+----- Thread: Import script object (/thread-2793.html)

Import script object - Comograma - 07-12-2022

I need to insert this javascript code on <body> tag:

<script type="module">
import screenfull from './js1/fullscreen.js';

How/where can I do this?

RE: Import script object - Alexandre Machado - 07-17-2022

Not easily done unless you are using templates. We're introducing a new feature that will allow you to add both code and files to be rendered in script module tags and it will be available soon.