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
|
<html>
<head>
<title></title>
<script type="text/javascript">
<!--
function chanegFiltre(obj)
{
var tabImg = document.getElementsByTagName("img");
var i, n = tabImg.length;
for (i=0; i<n; i++)
tabImg[i].className = "filtre30";
obj.className = "filtre100";
}
//-->
</script>
</head>
<body>
<img src="images/realisations/image-1.jpg" class="filtre30" onclick="changeFiltre(this)">
<img src="images/realisations/image-2.jpg" class="filtre30" onclick="changeFiltre(this)">
<img src="images/realisations/image-3.jpg" class="filtre30" onclick="changeFiltre(this) ">
</body>
</html> |