plugins.js not functioning

David Schure
David Schure used Ask the Experts™
on
plugins.js keeps closing dreamweaver.  I cannot switch the path to match the other ones in script and I cannot open the file even.

<script src="assets/js/jquery-3.3.1.min.js"></script>
	<!--script src="../assets/js/plugins.js"></script-->
    <script src="assets/js/common.js"></script>
	<script src="assets/js/carousel_horizontal.js"></script>

Open in new window

plugins.js
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hi,

I do not recommend to use Dreamweaver because it tend to add unwanted code.

You can use Notepad++ it is free and easy to use https://notepad-plus-plus.org

When you use jQuery you need to make sure it is the first link then if you
use plugins you need to make sure it is compatible with the jQuery version you are using.

Make sure the files are at the correct place  and name are ok no typo.
so located in www / yourwebsite /assets / js /

try to remove ../ from the link
something like this

<script src="assets/js/jquery-3.3.1.min.js"></script>
	<script src="assets/js/plugins.js"></script>
    <script src="assets/js/common.js"></script>
	<script src="assets/js/carousel_horizontal.js"></script>

Open in new window


To verify from Chrome right click inspect if you see errors in Console you will need to fix this in order to have the page displayed correctly.

Author

Commented:
Thank you.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial