1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Javascript

Discussion in 'XenForo Questions and Support' started by masterchief, Mar 20, 2011.

  1. masterchief

    masterchief Well-Known Member

    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?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. masterchief

    masterchief Well-Known Member

    I saw that.. this will work for a page?

    <xen:require js="name_of_javascript_file.js" />
     
  4. James

    James Well-Known Member

    You can use xen-syntax for XenForo pages.
     
  5. masterchief

    masterchief Well-Known Member

    OK, thanx.. I need to study this more
     

Share This Page