RSS Feed/News Running Custom Javascript File

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
31,081
Points
823

Reputation:

Hello,

Awhile ago someone wrote some custom Jquery code that we keep in a javascript file on our server. At some point it stopped working. I know Xenforo 2.3 doesn't support Jquery so I had two questions:

1. When looking up the issue online someone mentioned the syntax to include external javascript files. The post is from 2012, is the syntax still
Code:

<xen:require js="assets/custom.js" />
Would I be able to stick this in our page_container somewhere and have it run the javascript...

Read more

Continue reading...
 
Status
Not open for further replies.
Top