Bonjour
je voudrais créer une petite banderole de promo du genre:
http://www.rueducommerce.fr/home/index.htm

La banderole qui défile avec les numéro en haut à gauche.
Donc j'ai trouvé un petit script super sympa que j'ai remodifié en ça:

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
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 
	<title>Featured Content Slider</title>
 
<style>
form {
margin: 3px;
padding: 3px;
}
/*
	Featured Content Slider
	by: Chris Coyier
*/
*											{ margin: 0; padding: 0; }
body 										{ font-family: Arial, Helvetica, sans-serif; font-size: 10px; }
 
 
/*
	UTILITY STYLES
*/				  				  
 
.floatLeft 									{ float: left; margin-right: 10px;}
.floatRight									{ float: right; }
.clear 										{ clear: both; }
a											{ outline: none; }
 
 
/*
	PAGE STRUCTURE
*/
#page-wrap 									{ width: 700px; margin: 25px auto; position: relative; min-height: 200px;
											  background: url(images/bg.png) top center; }
 
 
/*
	TYPOGRAPHY
*/
ul											{ list-style: square inside; }
a, a:visited								{ color: #729dff; text-decoration: none; }
a:hover, a:active							{ color: white; }
blockquote									{ padding: 0 20px; margin-left: 20px; border-left: 20px solid #ccc; font-size: 14px; 
									  		  font-family: Georgia, serif; font-style: italic; margin-top: 10px;}
 
/*
	SLIDER
*/
.slider-wrap								{ width: 700px; position: relative; top: 0px; left: 0px; }			
.slider-wrap								{ width: 700px; position: relative; top: 0px; left: 0px; }			
.stripViewer .panelContainer 
.panel ul									{ text-align: left; margin: 0 15px 0 30px; }
.stripViewer								{ position: relative; overflow: hidden; width: 700px;  }
.stripViewer .panelContainer				{ position: relative; left: 0; top: 0; }
.stripViewer .panelContainer .panel			{ float: left; position: relative; width: 700px; }
.stripNavL, .stripNavR, .stripNav			{ display: none; }
.nav-thumb 									{ border: 1px solid black; margin-right: 5px; }
#movers-row									{ margin: -215px 0 0 650px; }
#movers-row div								{ width: 20%; float: left; }
#movers-row div a.cross-link 				{ float: right; }
 
.cross-link									{ display: block; width: 62px; margin-top: -14px; 
											  position: relative; padding-top: 15px; z-index: 9999; }
</style>
 
	<script type="text/javascript" src="./recherche/promotion/js/jquery-1.2.6.min.js"></script>
	<script type="text/javascript" src="./recherche/promotion/js/jquery-easing-1.3.pack.js"></script>
	<script type="text/javascript" src="./recherche/promotion/js/jquery-easing-compatibility.1.2.pack.js"></script>
	<script type="text/javascript" src="./recherche/promotion/js/coda-slider.1.1.1.pack.js"></script>
 
	<script type="text/javascript">
 
		var theInt = null;
		var $crosslink, $navthumb;
		var curclicked = 0;
 
		theInterval = function(cur){
			clearInterval(theInt);
 
			if( typeof cur != 'undefined' )
				curclicked = cur;
 
			$crosslink.removeClass("active-thumb");
			$navthumb.eq(curclicked).parent().addClass("active-thumb");
				$(".stripNav ul li a").eq(curclicked).trigger('click');
 
			theInt = setInterval(function(){
				$crosslink.removeClass("active-thumb");
				$navthumb.eq(curclicked).parent().addClass("active-thumb");
				$(".stripNav ul li a").eq(curclicked).trigger('click');
				curclicked++;
				if( 6 == curclicked )
					curclicked = 0;
 
			}, 3000);
		};
 
		$(function(){
 
			$("#main-photo-slider").codaSlider();
 
			$navthumb = $(".nav-thumb");
			$crosslink = $(".cross-link");
 
			$navthumb
			.click(function() {
				var $this = $(this);
				theInterval($this.parent().attr('href').slice(1) - 1);
				return false;
			});
 
			theInterval();
		});
	</script>
 
</head>
 
<body>
	<table border='1'><tr><td>
	<div id="page-wrap">
 
	<div class="slider-wrap">
		<div id="main-photo-slider" class="csw">
			<div class="panelContainer">
 
				<div class="panel" title="Panel 1">
					<div class="wrapper">
						<img src="recherche/promotion/img/1.jpg" alt="temp" />
 
					</div>
				</div>
				<div class="panel" title="Panel 2">
					<div class="wrapper">
						<img src="recherche/promotion/img/2.jpg" alt="temp" />
 
					</div>
				</div>		
				<div class="panel" title="Panel 3">
					<div class="wrapper">
 
						<img src="recherche/promotion/img/3.jpg" alt="scotch egg" class="floatLeft"/>
 
						</div>
				</div>
				<div class="panel" title="Panel 4">
					<div class="wrapper">
						<img src="recherche/promotion/img/4.jpg" alt="temp" />
 
					</div>
				</div>
 
 
			</div>
		</div>
 
 
		<div id="movers-row">
		<table><tr><td>
			<form><a href="#1" class="cross-link active-thumb"><img src="recherche/promotion/img/1_1.png" class="nav-thumb" alt="temp-thumb" /></a></form>
			<form><a href="#2" class="cross-link"><img src="recherche/promotion/img/2_2.png" class="nav-thumb" alt="temp-thumb" /></a></form>
			<form><a href="#3" class="cross-link"><img src="recherche/promotion/img/3_3.png" class="nav-thumb" alt="temp-thumb" /></a></form>
			<form><a href="#4" class="cross-link"><img src="recherche/promotion/img/4_4.png" class="nav-thumb" alt="temp-thumb" /></a></form>
		</td></tr></table>
		</div>
 
	</div>
 
	</div>
</td></tr></table>
</body>
 
</html>
Alors je suis assez fière de moi bien que je n'ai pas fait grand chose...
mais maintenant j'aimerais toujours rester dans le principe de rueducommerce, j'aimerais que les numéros changes de couleurs lorsque c'est l'image qui correspond au numéro qui est affiché !!§!!/
J'espère que vous voyez de quoi je parle.
Merci d'avance de votre aide