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

How to add script into page/forum?

Discussion in 'XenForo Development Discussions' started by patrick91, Nov 4, 2010.

  1. patrick91

    patrick91 Member

    How can i add this to xenforo?

    <script type="text/javascript" src="scrolltopcontrol.js">

    Where to place this... I tried some thing but didn't work for me!

    PAGE_CONTAINER and page_container_head_js...

    Anyone can help me out with this?


  2. Lawrence

    Lawrence Well-Known Member

    The page_container_js_head template loads three scripts, this is where I would place it.
  3. patrick91

    patrick91 Member

    Yeah but the strange thing normal html is working but in xenforo <a href='#top'>top</a> it don't picks up the jquery somehow:S when i put a normal html page its working... the .js file is there also!

Share This Page