Bonjour,je suis débutant en jquery,voilà mon probléme j'aimerais pouvoir faire apparaitre un attribut data price et description
au survol d'une gallerie d'image(prix différent pour chaque image) en haut à droite de mon site,mais je ne sais pas comment faire voici ma gallerie d'image html.
<body>
<ul>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/1/"><img src="http://lorempixel.com/200/200/abstract/1/"/></a>
</div>
</li>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/2/"><img src="http://lorempixel.com/200/200/abstract/2/"/></a>
</div>
</li>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/3/"><img src="http://lorempixel.com/200/200/abstract/3/"/></a>
</div>
</li>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/4/"><img src="http://lorempixel.com/200/200/abstract/4/"/></a>
</div>
</li>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/5/"><img src="http://lorempixel.com/200/200/abstract/5/"/></a>
</div>
</li>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/6/"><img src="http://lorempixel.com/200/200/abstract/6/"/></a>
</div>
</li>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/7/"><img src="http://lorempixel.com/200/200/abstract/7/"/></a>
</div>
</li>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/8/"><img src="http://lorempixel.com/200/200/abstract/8/"/></a>
</div>
</li>
<li class="zoomarticle">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/9/"><img src="http://lorempixel.com/200/200/abstract/9/"/></a></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script>
$(function() {
</script>
</body>
Je vous remercie de vos conseils .Merci.
Modifié par Ildegan29 (14 Jan 2017 - 12:32)
au survol d'une gallerie d'image(prix différent pour chaque image) en haut à droite de mon site,mais je ne sais pas comment faire voici ma gallerie d'image html.
<body>
<ul>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/1/"><img src="http://lorempixel.com/200/200/abstract/1/"/></a>
</div>
</li>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/2/"><img src="http://lorempixel.com/200/200/abstract/2/"/></a>
</div>
</li>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/3/"><img src="http://lorempixel.com/200/200/abstract/3/"/></a>
</div>
</li>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/4/"><img src="http://lorempixel.com/200/200/abstract/4/"/></a>
</div>
</li>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/5/"><img src="http://lorempixel.com/200/200/abstract/5/"/></a>
</div>
</li>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/6/"><img src="http://lorempixel.com/200/200/abstract/6/"/></a>
</div>
</li>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/7/"><img src="http://lorempixel.com/200/200/abstract/7/"/></a>
</div>
</li>
<li class="article">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/8/"><img src="http://lorempixel.com/200/200/abstract/8/"/></a>
</div>
</li>
<li class="zoomarticle">
<div class="article_img">
<a href="http://lorempixel.com/800/800/abstract/9/"><img src="http://lorempixel.com/200/200/abstract/9/"/></a></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script>
$(function() {
</script>
</body>
Je vous remercie de vos conseils .Merci.
Modifié par Ildegan29 (14 Jan 2017 - 12:32)