I’m new to Moodle and I’m having difficulty running a script can anyone please help?
We have set up a courser and in one of the pages we want to run an animated collapsible script
Here is the script we want to run: http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
I believe the reason for the script is not working is due to an incorrect file path.
I have updated the “animatedcollapse.js” file into the following folder. coursename1/scripts/animatedcollapse.js
In the text editor for the content page I want to run the script we have added the following:
__________________________
<script type="text/javascript" src=" file.php/coursename1/scripts/animatedcollapse.js"></script>
THE REST OF THE CODE NEED TO RUN THE SCRIPT IS BELOW THE ABOVE LINE
__________________________
Is my file path incorrect? We use this for our images and flash files with no issues? file.php/coursename1/flash/211.swf
Any ideas?