| Real'sHowTo |
|
|
Custom Search
|
| Real'sHowTo |
|
|
Custom Search
|
<SCRIPT>
function changeSelect(flag) {
if (flag == 1) {
if (document.theForm.comments.value ==
document.theForm.comments.defaultValue) {
document.theForm.comments.select();
}
}
if (flag == 2) {
document.theForm.comments.value =
document.theForm.comments.value;
}
}
</SCRIPT>
<P>
<DIV onMouseOver="changeSelect(1);"
onMouseOut="changeSelect(2);">
<LAYER onMouseOver="changeSelect(1);"
onMouseOut="changeSelect(2);">
<FORM name="theForm">
<TEXTAREA NAME="comments"
COLS="30" ROWS="4">Your comments</TEXTAREA>
</FORM>
</LAYER>
</DIV>
</P>
Try it:
Written and compiled by Réal Gagnon ©1998-2013
[ home ]