plugin easySlider is not a function ?
Bonjour à tous j'ai un probleme en essayant de faire un diaporama(slideshow) en javascript à l'aide de la bibliotheque jquery et de son plugin easyslider j'obtiens une erreur comme celle-ci ""$(".slider").easySlider is not a function"
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
<head>
<title>New York Shoes NYS Copyright 2011</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" media="screen" type="text/css" title="Exemple" href="design_NYS.css" />
<link type="text/css" rel="stylesheet" href="animated-menu.css"/>
<!--[if !IE]> <-->
<style type="text/CSS">
#menu li ul
{
position:absolute;
}
</style>
<!--><![endif]-->
<!--[if IE 8]>
<style type="text/CSS">
#menu li ul
{
position:absolute;
}
</style>
<![endif]-->
<script type="text/javascript" src="script.js"></script>
<script src="http://jqueryjs.googlecode.com/files/jquery-1.3.js" type="text/javascript"></script>
<script src="js/jquery.easing.1.3.js" type="text/javascript"></script>
<script src="js/animated-menu.js" type="text/javascript"></script>
<script src="js/slider.js" type="text/javascript"></script>
</head>
<body onload="demarrage()">
<div id="en_tete">
</div>
<div id="menu">
<ul>
<li class="firstcase">
<p><a href="#">Men</a></p>
<p class="subtext">New Products</p>
<p class="subtext">brands</p>
<p class="subtext">Kind of shoes</p>
</li>
<li class="secondcase">
<p><a href="#">Women</a></p>
<p class="subtext">New Products</p>
<p class="subtext">brands</p>
<p class="subtext">Kind of shoes</p>
</li>
<li class="thirdcase">
<p><a href="#">Children</a></p>
<p class="subtext">New Products</p>
<p class="subtext">brands</p>
<p class="subtext">Kind of shoes</p>
</li>
<li class="fourthcase">
<p><a href="#">Good Deals</a></p>
<p class="subtext">Good Deals's Page</p>
</li>
<li class="fifthcase">
<p><a href="#">Retour</a></p>
<p class="subtext">Retour</p>
</li>
</ul>
</div>
<div id="corps">
<div class="slider">
<ul>
<li><img src="images/img1.jpg"/></li>
<li><img src="images/img2.jpg"/></li>
<li><img src="images/img3.jpg"/></li>
</ul>
</div>
<div id="browsmosaic">
<div class="firstline">
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="f1"/></a>
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="colums_needmargin"/></a>
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="colums_needmargin" /></a>
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="colums_needmargin"/></a>
</div>
<div class="secondline">
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="f1"/></a>
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="colums_needmargin"/></a>
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="colums_needmargin" /></a>
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="colums_needmargin"/></a>
</div>
<div class="thirdline">
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="f1"/></a>
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="colums_needmargin"/></a>
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="colums_needmargin" /></a>
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="colums_needmargin"/></a>
</div>
<div class="fourthline">
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="f1"/></a>
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="colums_needmargin"/></a>
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="colums_needmargin" /></a>
<a href=""><img src="images/jordan1.jpg" alt="chaussures" class="colums_needmargin"/></a>
</div>
</div>
</div>
<div id="pied_de_page">
<p>Copyright "New York Shoes NYS", all rights reserved</p>
<p>by ANDRE Valentin</p>
<p class="dateC">2011</p>
<p><a href="mailto:valentin.ece@gmail.com">Contact</a></p>
<p><img id="logo" src="images/logo.png" alt="logo"/></p>
</div>
</body>
</html> |
Code:
1 2 3 4 5 6
| $(document).ready(function(){
$(".slider").easySlider({
auto:true,
continuous:true
});
}); |
Merci beaucoup de vos réponses.