Jquery Coin Slider - Not Working At All
I'm trying to integrate Coin Slider into my page, and I've downloaded and attached the latest Jquery to my header, along with all of the necessary Coin-slider files. However, the p
Solution 1:
Change your script tags from
<scripttype="text/javascript"src="js/coin-slider.min.js"></script><scripttype="text/javascript"src="js/coin-slider.js"></script><scripttype="text/javascript"src="js/jquery-1.7.2.js"></script>
to
<scripttype="text/javascript"src="js/jquery-1.7.2.js"></script><scripttype="text/javascript"src="js/coin-slider.min.js"></script>
coin-slider depends on jQuery therefore it must be loaded before.... And I would suggest you remove js/coin-slider.js
as js/coin-slider.min.js
and js/coin-slider.js
are the same thing ... the .min
is just a minified version of the other
Solution 2:
The order of your javascript file includes is very important. jQuery should always be first (as is evident in the production documentation). Also, you don't need BOTH coin-slider includes. The .min will be enough:
<scripttype="text/javascript"src="js/jquery-1.7.2.js"></script><scripttype="text/javascript"src="js/coin-slider.min.js">
Solution 3:
This one may sound obvious but the coin-slider package doesn't always come packaged with jQuery, so make sure you have jQuery in your javascript folder before linking too it c(:
Solution 4:
it works well
<script type="text/javascript" src="jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="coin-slider.min.js"></script>
<link rel="stylesheet" href="styles.css"type="text/css" />
<link rel="stylesheet" href="coin-slider-styles.css"type="text/css" />
Post a Comment for "Jquery Coin Slider - Not Working At All"