Dynamic Drive DHTML code library!
Dynamicdrive.com


.
spacer.gif (807 bytes)
Featured Script
Flashing form element 
Flash your form elements baby!
.
Site Info
Search DD
Recommend DD
Email offers
Awards
DHTML Books
Advertising
Contact
.
Market place
$1.5 million in web development jobs available daily!
.
Site Partners
Free JavaScripts
Free Graphics
.
Link to DD
Do you use scripts from Dynamic Drive? Please give something back by linking to us...
.
spacer.gif (807 bytes)

Home Small4.gif (1046 bytes) Form effects Small4.gif (1046 bytes) Here

Flashing form element IE

Credits: Dynamic Drive

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.

Demo:


Directions: Developer's View

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:

id="flashit"

inside the element's tag you wish to flash. Here's an example:

<form>
<input type="submit" value="Submit" id="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+ will simply see nothing (the effect, that is!).

Recommend Us!
-If you like Dynamic Drive, please recommend us to a friend...

Legend
All- Script works with Netscape 4 AND Internet Explorer 4+
NS- Indicates script works with Netscape 4 (NOT NS 6 yet)
IE- Indicates script works with Internet Explorer 4 and above
IE5- Indicates script works with Internet Explorer 5 and above
NS6!- Temporary index set up on script category pages to indicate script works in NS6


Copyright © 1998-2001 Dynamic Drive. Please read Terms Of Use here before using any of the scripts.


Copyright © 2001 bogolubow@narod.ru BYN., ALL RIGHTS RESERVED
SE@RCHER BYN  logo are registered trademarks  Online in RuNet
 Last Updated:  Oct 10, 2001