Bookmark to del.icio.us
FF1+ IE5+ Opr7+
Flashing form element
Note: Script rewritten Dec 15th, 02' for increased efficiency and NS6+
Description: Use this DHTML script to make certain form elements flash with glee. It's a great way to draw attention to "important" fields, such as the submit button, etc.
Simply insert the below code to the END of your document, right above the </body> tag:
Having done the above, you're now ready to give any form element a flashing personality. Just add:
inside the element's tag you wish to flash. Here's an example:
<form> <input type="submit" value="Submit" class="flashit"> </form>
Follow the same procedure to apply this flashing trait to multiple form elements, whether they're from the same form or not. The script is robust enough to adopt, and browsers other than IE 4+ and NS6+ will simply see nothing (the effect, that is!).