bonjour a tous
je suis conforte a un soucis assez embêtant sous prettyphoto
je suis en train de vouloir créer un bouton avec la fonction onmouseover
Chose bizarre ,c est que avec un bouton crée, cela fonctionne
mais si j en crée un deuxième l effet onmouseover ne fonctionne plus sur aucun des deux boutons
si j en supprime un l effet est de nouveau ok
Merci pour l aide
voici le lien
http://les-perles.comze.com/les-perles/freddyphoto/test.html#prettyPhoto
et le code
<!DOCTYPE html>
<html>
<head>
<title>jQuery lightbox clone - prettyPhoto - by Stephane Caron</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" type="text/javascript"></script>
<!--script src="js/jquery.lint.js" type="text/javascript" charset="utf-8"></script-->
<link rel="stylesheet" href="http://les-perles.comze.com/les-perles/freddyphoto/css/prettyPhoto.css" type="text/css" media="screen" title="prettyPhoto main stylesheet" charset="utf-8" />
<script src="http://les-perles.comze.com/les-perles/freddyphoto/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
<!-- DEBUT DU SCRIPT -->
<script language="JavaScript">
/*
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/
/* PRECHARGEMENT DE L IMAGE DANS LE CACHE DU NAVIGATEUR */
if(document.images)
{
i438393 = new Image;
i438393 = "http://les-perles.comze.com/les-perles/image envois/bouton_command_out.png";
}
</script>
<!-- FIN DU SCRIPT -->
</head>
<body>
<div id="main">
<ul class="gallery clearfix">
<a href="http://les-perles.comze.com/les-perles/perlecommande240613NV.php?ie=UTF-8&oe=UTF-8&q=prettyphoto&iframe=true&width=100%&height=100%" rel="prettyPhoto " onmouseover="i438393.src='http://les-perles.comze.com/les-perles/image envois/bouton_command_out.png'" onmouseout="i438393.src='http://les-perles.comze.com/les-perles/image envois/bouton_command_in.png'"><img width="175" vspace="0" hspace="0" height="104/" border="0" src="http://les-perles.comze.com/les-perles/image envois/bouton_command_in.png" name="i438393" alt="attende"></a></ul>
<ul class="gallery clearfix">
<a href="http://les-perles.comze.com/les-perles/perlecommande240613NV.php?ie=UTF-8&oe=UTF-8&q=prettyphoto&iframe=true&width=100%&height=100%" rel="prettyPhoto " onmouseover="i438393.src='http://les-perles.comze.com/les-perles/image envois/bouton_command_out.png'" onmouseout="i438393.src='http://les-perles.comze.com/les-perles/image envois/bouton_command_in.png'"><img width="175" vspace="0" hspace="0" height="104/" border="0" src="http://les-perles.comze.com/les-perles/image envois/bouton_command_in.png" name="i438393" alt="attende"></a></ul>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("area[rel^='prettyPhoto']").prettyPhoto();
$(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'normal',theme:'light_square',slideshow:3000, autoplay_slideshow: true});
$(".gallery:gt(0) a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'fast',slideshow:10000, hideflash: true});
$("#custom_content a[rel^='prettyPhoto']:first").prettyPhoto({
custom_markup: '<div id="map_canvas" style="width:260px; height:265px"></div>',
changepicturecallback: function(){ initialize(); }
});
$("#custom_content a[rel^='prettyPhoto']:last").prettyPhoto({
custom_markup: '<div id="bsap_1259344" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div><div id="bsap_1237859" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6" style="height:260px"></div><div id="bsap_1251710" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div>',
changepicturecallback: function(){ _bsap.exec(); }
});
});
</script>
</div>
</body>
</html>
je suis conforte a un soucis assez embêtant sous prettyphoto
je suis en train de vouloir créer un bouton avec la fonction onmouseover
Chose bizarre ,c est que avec un bouton crée, cela fonctionne
mais si j en crée un deuxième l effet onmouseover ne fonctionne plus sur aucun des deux boutons
si j en supprime un l effet est de nouveau ok
Merci pour l aide
voici le lien
http://les-perles.comze.com/les-perles/freddyphoto/test.html#prettyPhoto
et le code
<!DOCTYPE html>
<html>
<head>
<title>jQuery lightbox clone - prettyPhoto - by Stephane Caron</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js" type="text/javascript"></script>
<!--script src="js/jquery.lint.js" type="text/javascript" charset="utf-8"></script-->
<link rel="stylesheet" href="http://les-perles.comze.com/les-perles/freddyphoto/css/prettyPhoto.css" type="text/css" media="screen" title="prettyPhoto main stylesheet" charset="utf-8" />
<script src="http://les-perles.comze.com/les-perles/freddyphoto/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
<!-- DEBUT DU SCRIPT -->
<script language="JavaScript">
/*
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/
/* PRECHARGEMENT DE L IMAGE DANS LE CACHE DU NAVIGATEUR */
if(document.images)
{
i438393 = new Image;
i438393 = "http://les-perles.comze.com/les-perles/image envois/bouton_command_out.png";
}
</script>
<!-- FIN DU SCRIPT -->
</head>
<body>
<div id="main">
<ul class="gallery clearfix">
<a href="http://les-perles.comze.com/les-perles/perlecommande240613NV.php?ie=UTF-8&oe=UTF-8&q=prettyphoto&iframe=true&width=100%&height=100%" rel="prettyPhoto " onmouseover="i438393.src='http://les-perles.comze.com/les-perles/image envois/bouton_command_out.png'" onmouseout="i438393.src='http://les-perles.comze.com/les-perles/image envois/bouton_command_in.png'"><img width="175" vspace="0" hspace="0" height="104/" border="0" src="http://les-perles.comze.com/les-perles/image envois/bouton_command_in.png" name="i438393" alt="attende"></a></ul>
<ul class="gallery clearfix">
<a href="http://les-perles.comze.com/les-perles/perlecommande240613NV.php?ie=UTF-8&oe=UTF-8&q=prettyphoto&iframe=true&width=100%&height=100%" rel="prettyPhoto " onmouseover="i438393.src='http://les-perles.comze.com/les-perles/image envois/bouton_command_out.png'" onmouseout="i438393.src='http://les-perles.comze.com/les-perles/image envois/bouton_command_in.png'"><img width="175" vspace="0" hspace="0" height="104/" border="0" src="http://les-perles.comze.com/les-perles/image envois/bouton_command_in.png" name="i438393" alt="attende"></a></ul>
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("area[rel^='prettyPhoto']").prettyPhoto();
$(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'normal',theme:'light_square',slideshow:3000, autoplay_slideshow: true});
$(".gallery:gt(0) a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'fast',slideshow:10000, hideflash: true});
$("#custom_content a[rel^='prettyPhoto']:first").prettyPhoto({
custom_markup: '<div id="map_canvas" style="width:260px; height:265px"></div>',
changepicturecallback: function(){ initialize(); }
});
$("#custom_content a[rel^='prettyPhoto']:last").prettyPhoto({
custom_markup: '<div id="bsap_1259344" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div><div id="bsap_1237859" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6" style="height:260px"></div><div id="bsap_1251710" class="bsarocks bsap_d49a0984d0f377271ccbf01a33f2b6d6"></div>',
changepicturecallback: function(){ _bsap.exec(); }
});
});
</script>
</div>
</body>
</html>