I cant solve a conflict between Lavalamp and Accordion, here is the code. When one of them works, the other does not, and viceversa. I have deleted one of the jquery library (jquery-1.4.min.js or jquery.min.js) but it does not work. Also I have change the place of the scripts: The second script works and the first does not. In this particular case, the lavalamp doesnt work:
<script type="text/javascript" src="js/jquery-1.4.min.js"></script>
<script type="text/javascript" src="js/jquery.easing.min.js"></script>
<script type="text/javascript" src="js/jquery.lavalamp.min.js"></script>
<script type="text/javascript" src="js/cufon.yui.js"></script>
<script type="text/javascript" src="js/myriad.js"></script>
<script type="text/javascript">
$(function() {
$("#one,#two,#three,#four,#five").lavaLamp({
fx: "backout",
speed: 700
});
});
</script>
<script type="text/javascript">
Cufon.replace('li a', {hover: true});
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="navAccordion.min.js"></script>
<script>
jQuery(document).ready(function(){
//Accordion Nav
jQuery('.mainNav').navAccordion({
expandButtonText: '<i class="fa fa-plus"></i>', //Text inside of buttons can be HTML
collapseButtonText: '<i class="fa fa-minus"></i>'
},
function(){
console.log('Callback')
});
});
</script>