MyBB Community Forums

Full Version: Theme with Jscript?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've this script...
Folders looks likes this:
Theme/ - The XML document is inhere.

Theme/"theme name"/ - Heres 2 folders 1) "theme name" 2) jscripts

Theme/"theme name"/"theme name"/ heres the pictures
Theme/"theme name"/jscripts/ heres a jscript file

I bet I have to put /"theme name" (the last one just before pictures) into images, but where should I put the jscript file?
Just put the relative path to the jScript.


For example:

Your script is located in /root/js/script.js


in your header put:


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



You can find the header files:

ACP > Templates & Style > Templates > THEMETEMPLATES > Ungrouped Templates > headerinclude