XF 2.1 Embedded javascript not displaying

optrex

Well-known member
I've worked out how to create a page and within that page I've set the html to read
Code:
<script type="text/javascript" src="http://www.midnightkite.com/mooncalendar.js"></script>
or
Code:
<xf:js src="http://www.midnightkite.com/mooncalendar.js"  />

but nothing is showing up. Please could someone explain what I'm doing wrong?
 
I was hoping this would be a quick fix but with the lack of any immediate response I'm wondering if I've not provided enough information.

Please let me know what else you would need to know in the event you can help.

In the meantime I've also tried going to the source file I was referencing and making a local copy. This went into js\xf folder and referenced
Code:
<xf:js src="xf/mooncalendar.js"  />
 
Last edited:
Nothing seems out of the ordinary, it should be including that script. When you say nothing is showing up, do you mean the script tag does not appear in the HTML of your page?
 
Back
Top Bottom