<script> <BR>function getcolor(img_val,input_val){ <BR> var arr = showModalDialog("selcolor.html", "", <BR>"dialogWidth:18.5em; dialogHeight:17.5em; status:0; help:0"); <BR> if (arr != null){ <BR> document.getElementById(input_val).value = arr; <BR> img_val.style.backgroundColor = arr; <BR> } <BR>} <BR></script>
size="10">
style="max-width:90%" onclick="getcolor
(this,'r_titlecolor');" title="选取颜色!" align="absmiddle">