1 2 3 4 5 6 7 8 9
| <form name="maForm" action="?" method="post">
<div id="CP"></div> <p>
<script language="JavaScript">
var CP = new Color_Picker("CP");
</script>
<input type="text" value="#FFFFFF" class="Cellules" onchange="var selectionColor=document.getElementsByName('perso2')[0].value
document.getElementById('exemple').style.color=selectionColor;" name="perso2"> <img src="../images/color.gif" width="35" height="28" border="0" align="absmiddle" onClick="CP.Show('perso2', 'right');"> <a href="javascript:;" onclick="var selectionColor=document.getElementsByName('perso2')[0].value
document.getElementById('exemple').style.color=selectionColor;">Pour voir l'exemple valide ton choix</a></form> |