question overview: Where/How could I add new javascript files into wiki? I would like to add dynamic functions as a part of the header which will be static on all pages.
details: I have gone in and changed the content under skins/. "Sidebar" now exist as a horizontal navigation bar. What I would like to do is to include a set of javascript funcions and call it from Monobook.php (I have just edited the default Monobook.php file) when outputing the items.
I have tried it on a separte test php file where it echos: "<script type='text/javascript' src='menu.js'>" It works fine on this test run. When added to Monobook.php, it stops working.
I have also tried to delete all content form Monobook.php to nothing but just the javascript include and hard-code definition of the sidebar items & its dropdown menu (pretty much the same as the test run php file from above) but the javascript capability is still lost. I have checked paths of these files and am sure that it works outside of wiki...
Any inputs would be greatly appreciated!
Thank you