L
lemat
Hi,
I use this function in my website, it works perfectly in Firefox. Whan
I click on the image, it changes the border and selects the button
asociated (it's a radiobutton). the color of the border is the text
color of the table.
In IE, the click on the image isn't working (no button selection). If I
click the button, the color of the border is not good.
In Safari, nothing is working.
Any ideas ?
function changeborder(numero)
{
for(var i=1;i<12;i++)
{
if (i!=numero)
{
eval ('document.form1.image'+i+'.border=0');
}
else eval ('document.form1.image'+i+'.border=10');
}
}
Html Code
<label>
<input name="Yunomi" type="radio" value="1"
onclick="changeborder(1)"/>
<img src="Photos/GIF/image1.gif" name="image1"
width="472" height="118" align="middle" id="image1"/>
</label>
Mathieu
I use this function in my website, it works perfectly in Firefox. Whan
I click on the image, it changes the border and selects the button
asociated (it's a radiobutton). the color of the border is the text
color of the table.
In IE, the click on the image isn't working (no button selection). If I
click the button, the color of the border is not good.
In Safari, nothing is working.
Any ideas ?
function changeborder(numero)
{
for(var i=1;i<12;i++)
{
if (i!=numero)
{
eval ('document.form1.image'+i+'.border=0');
}
else eval ('document.form1.image'+i+'.border=10');
}
}
Html Code
<label>
<input name="Yunomi" type="radio" value="1"
onclick="changeborder(1)"/>
<img src="Photos/GIF/image1.gif" name="image1"
width="472" height="118" align="middle" id="image1"/>
</label>
Mathieu