Answer the question
In order to leave comments, you need to log in
Why doesn't JQuery work after landing layout on Joomla?
Made a layout. My layout has a responsive menu that works with jQuery. When I open a normal html file, everything works fine. Adaptability, deployment of a vertical menu - in general, everything works. But after "landing" this layout on CMS Joomla 3.7, the part that works with JQuery stopped working for me.
<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/jquery-3.3.1.js"></script>
<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/bootstrap.min.js"></script>
<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/headhesive.min.js"></script>
<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/script.js"></script>
alert('hello');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question