Ciao!
Vorrei fare in modo che all'apertura di un'immagine sulla pagina cambi il colore del numero relativo ad essa.Mi spiego meglio. Lo screenshot della pagina web lo trovate al seguente link:
https://www.dropbox.com/s/4q7fi0ueg7ng7n4/ImgSito2.jpg
Come potete vedere sopra all'immagine ci sono i numeri(01 02 ... 15). Per cambiare immagine si può cliccare sui numeri oppure a destra e sinistra dell'immagine stessa per lo scorrimento veloce. Vorrei fare in modo che quando apro l'immagine in uno dei due modi descritti sopra, cambi il colore del numero relativo all'immagine attualmente visualizzata.
Posto anche la porzione di codice relativo alle immagini e ai numeri.
codice:<p id="IMGIniziale" style="position:absolute; left:265px; top:153px; width:679px; height:430px;"> BACK </p> <div id="Immagini" style="position:absolute; left:576px; top:149px; width:438px; height:30px; z-index:19;"> <blockquote> <FONT size=2>01</FONT> <FONT size=2>02</FONT> <FONT size=2>03</FONT> <FONT size=2>04</FONT> <FONT size=2>05</FONT> <FONT size=2>06</FONT> <FONT size=2>07</FONT> <FONT size=2>08</FONT> <FONT size=2>09</FONT> <FONT size=2>10</FONT> <FONT size=2>11</FONT> <FONT size=2>12</FONT> <FONT size=2>13</FONT> <FONT size=2>14</FONT> <FONT size=2>15</FONT> <FONT size=2> Description</FONT></p> </blockquote> </div> <div id="Img1" style="position:absolute; left:265px; top:196px; width:679px; height:410px; z-index:20;">[img]PicturesImageProgetti/Shenhua/Shenhua_01.jpg[/img] <map name="Image_1Map"> <area shape="rect" coords="450,8,669,397" href="#" onClick="ChiudiTotLayer1();ShowLayer('Img2')"> <area shape="rect" coords="6,10,225,399" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img15')"> </map> </div> <div id="Img2" style="position:absolute; left:265px; top:196px; width:679px; height:410px; z-index:21">[img]PicturesImageProgetti/Shenhua/Shenhua_02.jpg[/img] <map name="Image_2Map"> <area shape="rect" coords="451,9,668,399" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img3')"> <area shape="rect" coords="6,10,225,394" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img1')"> </map> </div> <div id="Img3" style="position:absolute; left:265px; top:196px; width:679px; height:410px; z-index:22">[img]PicturesImageProgetti/Shenhua/Shenhua_03.jpg[/img] <map name="Image_3Map"> <area shape="rect" coords="455,8,668,395" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img4')"> <area shape="rect" coords="6,10,225,401" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img2')"> </map> </div> <div id="Img4" style="position:absolute; left:265px; top:196px; width:679px; height:410px; z-index:23">[img]PicturesImageProgetti/Shenhua/Shenhua_04.jpg[/img] <map name="Image_4Map"> <area shape="rect" coords="455,8,668,395" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img5')"> <area shape="rect" coords="6,10,225,401" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img3')"> </map> </div> <div id="Img5" style="position:absolute; left:265px; top:196px; width:679px; height:410px; z-index:24">[img]PicturesImageProgetti/Shenhua/Shenhua_05.jpg[/img] <map name="Image_5Map"> <area shape="rect" coords="455,8,668,395" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img6')"> <area shape="rect" coords="6,10,225,401" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img4')"> </map> </div> <div id="Img6" style="position:absolute; left:265px; top:196px; width:679px; height:410px; z-index:25">[img]PicturesImageProgetti/Shenhua/Shenhua_06.jpg[/img] <map name="Image_6Map"> <area shape="rect" coords="379,9,565,391" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img7')"> <area shape="rect" coords="6,10,225,401" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img5')"> </map> </div> <div id="Img7" style="position:absolute; left:265px; top:196px; width:679px; height:410px; z-index:26">[img]PicturesImageProgetti/Shenhua/Shenhua_07.jpg[/img] <map name="Image_7Map"> <area shape="rect" coords="350,12,513,397" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img8')"> <area shape="rect" coords="6,13,196,401" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img6')"> </map> </div> <div id="Img8" style="position:absolute; left:265px; top:196px; width:679px; height:410px; z-index:27">[img]PicturesImageProgetti/Shenhua/Shenhua_08.jpg[/img] <map name="Image_8Map"> <area shape="rect" coords="335,11,508,397" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img9')"> <area shape="rect" coords="6,11,190,401" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img7')"> </map> </div> <div id="Img9" style="position:absolute; left:265px; top:196px; width:679px; height:410px; z-index:28">[img]PicturesImageProgetti/Shenhua/Shenhua_09.jpg[/img] <map name="Image_9Map"> <area shape="rect" coords="349,10,512,397" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img10')"> <area shape="rect" coords="6,8,176,401" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img8')"> </map> </div> <div id="Img10" style="position:absolute; left:265px; top:196px; width:679px; height:410px; z-index:29">[img]PicturesImageProgetti/Shenhua/Shenhua_10.jpg[/img] <map name="Image_10Map"> <area shape="rect" coords="347,10,512,397" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img11')"> <area shape="rect" coords="6,11,177,401" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img9')"> </map> </div> <div id="Img11" style="position:absolute; left:265px; top:196px; width:679px; height:410px; z-index:30">[img]PicturesImageProgetti/Shenhua/Shenhua_11.jpg[/img] <map name="Image_11Map"> <area shape="rect" coords="342,12,512,396" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img12')"> <area shape="rect" coords="6,8,171,401" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img10')"> </map> </div> <div id="Img12" style="position:absolute; left:265px; top:196px; width:679px; height:410px; z-index:31">[img]PicturesImageProgetti/Shenhua/Shenhua_12.jpg[/img] <map name="Image_12Map"> <area shape="rect" coords="343,11,513,399" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img13')"> <area shape="rect" coords="6,10,177,401" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img11')"> </map> </div> <div id="Img13" style="position:absolute; left:265px; top:196px; width:679px; height:410px; z-index:32">[img]PicturesImageProgetti/Shenhua/Shenhua_13.jpg[/img] <map name="Image_13Map"> <area shape="rect" coords="360,11,514,396" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img14')"> <area shape="rect" coords="6,10,168,401" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img12')"> </map> </div> <div id="Img14" style="position:absolute; left:265px; top:196px; width:679px; height:410px; z-index:33">[img]PicturesImageProgetti/Shenhua/Shenhua_14.jpg[/img] <map name="Image_14Map"> <area shape="rect" coords="336,12,510,399" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img15')"> <area shape="rect" coords="6,12,180,401" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img13')"> </map> </div> <div id="Img15" style="position:absolute; left:265px; top:196px; width:679px; height:410px; z-index:34">[img]PicturesImageProgetti/Shenhua/Shenhua_15.jpg[/img] <map name="Image_15Map"> <area shape="rect" coords="8,9,220,401" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img14')"> <area shape="rect" coords="455,8,673,394" href="#"onClick="ChiudiTotLayer1();ShowLayer('Img1')"> </map> </div>