May 12, 2004

Form Highlighting

Ryan Brill has a good article on creating a nice Form Highlighting effect with Javascript. This is very similar to the recent A List Apart artilce: Creating Custom Corners & Borders. Only this has no height constraint. You can see Andy's sample here on his site to see it in action. I do like how he avoided fighting with the DOM over the differences on how IE and Moz generate child nodes. He puts the code on one line. Ugly in the source, but it works. (If there are spaces between elements, Gecko broswers assign a child node, while IE does not.) Nice effect. Nice tutorial.
Post Info

Tagged As Javascript

Comments are Open (0)

Posted at 07:53 AM

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

Search
Comments on this post
Categories
Info
Tony Stephens
Copyright © 1995-2005
Site Version:
10
Licensed:
Creative Commons
Validate:
XHTML, CSS, 508, RSS
Subscribe
Blog-Fu, Link-Fu