masterchief Well-known member Mar 20, 2011 #1 I have placed a javascript in my community folder and would like to run it from pages. How do I get a page to execute the javascript?
I have placed a javascript in my community folder and would like to run it from pages. How do I get a page to execute the javascript?
Paul B XenForo moderator Staff member Mar 20, 2011 #2 Moved from tips & tricks to general support. Check the FAQ for how to call a .js file - http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-181112 Upvote 0 Downvote
Moved from tips & tricks to general support. Check the FAQ for how to call a .js file - http://xenforo.com/community/threads/frequently-asked-questions.5183/#post-181112
masterchief Well-known member Mar 20, 2011 #3 I saw that.. this will work for a page? <xen:require js="name_of_javascript_file.js" /> Upvote 0 Downvote
J James Well-known member Mar 20, 2011 #4 You can use xen-syntax for XenForo pages. Upvote 0 Downvote
masterchief Well-known member Mar 20, 2011 #5 OK, thanx.. I need to study this more Upvote 0 Downvote