Bonjour j'ai un effet de pixellisation sur une serie dimage.

Grace à ce code:

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
<SCRIPT LANGUAGE="JavaScript">
/*
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
*/
imgPath = new Array;
SiClickGoTo = new Array;
if (document.images)
	{
	i0 = new Image;
	i0.src = 'Assets/Photos/etapA1.jpg';
	SiClickGoTo[0] = "procedM.htm";
	imgPath[0] = i0.src;
	i1 = new Image;
	i1.src = 'Assets/Photos/etapA2.jpg';
	SiClickGoTo[1] = "procedM.htm";
	imgPath[1] = i1.src;
	i2 = new Image;
	i2.src = 'Assets/Photos/etapA3.jpg';
	SiClickGoTo[2] = "procedM.htm";
	imgPath[2] = i2.src;
	}
a = 0;
function ejs_img_fx(img)
	{
	if(img && img.filters && img.filters[0])
		{
		img.filters[0].apply();
		img.filters[0].play();
		}
	}
 
function StartAnim()
	{
	if (document.images)
		{
		document.write('<A HREF="#" onClick="ImgDest();return(false)"><IMG SRC="Assets/Photos/etapA1.jpg" BORDER=0 ALT=Menu NAME=defil style="filter:progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=100,Duration=1)"  ></A>');
		defilimg()
		}
	else
		{
		document.write('<A HREF="procedM.htm"><IMG SRC="Assets/Photos/etapA1.jpg" BORDER=0 ></A>')
		}
	}
function ImgDest()
	{
	document.location.href = SiClickGoTo[a-1];
	}
function defilimg()
	{
	if (a == 3)
		{
		a = 0;
		}
	if (document.images)
		{
		ejs_img_fx(document.defil)
		document.defil.src = imgPath[a];
		tempo3 = setTimeout("defilimg()",3000);
		a++;
		}
	}
</SCRIPT>


Je voudrais rajouter à cette serie de photo un ombrage grace à ce code:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
onload=this.style.filter="progid:DXImageTransform.Microsoft.Shadow(color=#000000,direction=135,strength=3)"
Mais si je le rajoute ca m'enlève l'effet de pixellisation.

Je n'y connais pas grand chose en javascript, jai essayé google mais je ne trouve pas de solution.

MErci