how to write javascript in themler ?

peterkovacssoft
43 Posts
peterkovacssoft posted this 18 November 2015

Hi !
I can insert javascript svg icons animated parts of a Web page, say, or change page animation that I can put into the wbeoldalba can you give me this help? I thought things like that
http://tympanus.net/Development/AnimatedSVGIcons/

Hi ! I can insert javascript svg icons animated parts of a Web page, say, or change page animation that I can put into the wbeoldalba can you give me this help? I thought things like that http://tympanus.net/Development/AnimatedSVGIcons/
Vote to pay developers attention to this features or issue.
5 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 20 November 2015

Hello Peter,
as I understand you need to load .js file and then use some custom HTML and CSS.
The general idea is:
1.add custom JS code which should be located in HEAD section (for example link to .js file) under Settings >> Additional HEAD HTML

2.add HTML Control and put:
-html code into HTML section
-CSS code into CSS section
of the control

regards,
Aileen

Hello Peter, as I understand you need to load .js file and then use some custom HTML and CSS. The general idea is: 1.add custom JS code which should be located in HEAD section (for example link to .js file) under Settings >> Additional HEAD HTML 2.add HTML Control and put: -html code into HTML section -CSS code into CSS section of the control regards, Aileen
Ricardo Martins
7 Posts
Ricardo Martins posted this 23 June 2016

When inserting the js in the settings it will be available/inserted in all pages. What if I want to insert an external JS only in a specific page?
When trying to insert JS into HTML element, themler crashes.

When inserting the js in the settings it will be available/inserted in all pages. What if I want to insert an external JS only in a specific page? When trying to insert JS into HTML element, themler crashes.
Support Team
Support Team posted this 24 June 2016

Hi,

Try to use the CMS Code control. Does it work with your code?

Sincerely,
Hella

Hi, Try to use the CMS Code control. Does it work with your code? Sincerely, Hella
emailrobind
27 Posts
emailrobind posted this 17 December 2016

Doesn't seem to be any way to add javascript into the html themler if you add it as html or add as additional header - breaks theme

Doesn't seem to be any way to add javascript into the html themler if you add it as html or add as additional header - breaks theme
Support Team
Support Team posted this 19 December 2016

Hi,

Looks like you have added this post to several topics. If you need our help, we'll communicate in one of them. So lets ignore this one and continue the discussion in the one I responded initially to.

Sincerely,
Hella

Hi, Looks like you have added this post to several topics. If you need our help, we'll communicate in one of them. So lets ignore this one and continue the discussion in the one I responded initially to. Sincerely, Hella
You must log in or register to leave comments