Bonsoir,

J'essaye de mettre en place ce script http://www.electricprism.com/aeron/slideshow/ sur cette page http://www.davidfarsi.com/FR/editions/bandeau.php mais j'obtiens l'erreur suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
this.slideshow has no properties
[Break on this error] this.slideshow.setHTML('');
Pourtant il me semble que j'ai bien suivi l'exemple voici le code de ma page
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style>
<script type="text/javascript" src="/FR/libs/mootools-1.11.js"></script>
<script type="text/javascript" src="slideshow.js"></script>
</head>
<body>
<div id="my_slideshow" class="slideshow">
  <img src="/image/editions/bandeau/0.jpg" alt="A picture" width="960" height="250" />
</div> 
<script type="text/javascript">
    myShow = new Slideshow('slideshow', { type: 'fade', duration: [2000, 4000], width: 960, height: 250, images: ['0.jpg','1.jpg', '2.jpg', '3.jpg', '4.jpg', '5.jpg', '6.jpg', '7.jpg', '8.jpg', '9.jpg', '10.jpg', '11.jpg'], hu: '/image/editions/bandeau/' }); 
  </script>
</body>
</html>
Merci d'avance pour votre aide
Bonne soirée
Ludo