DHTML : Animated Buttons - 19 Feb 2002

DescriptionThis sample demonstrates how the style attribute of a button element can be changed through interactions with the user. This technique makes the Web page more lively and interactive.

ITPro Today

February 18, 2002

1 Min Read
ITPro Today logo in a gray background | ITPro Today

DescriptionThis sample demonstrates how the style attribute of a button element can be changed through interactions with the user. This technique makes the Web page more lively and interactive.

More Details
Dynamic HTML supports the CSS standard on built-in controls. When combined with the object model, it allows the controls to change in appearance and size as a result of interaction with the user. The "Click me" button demonstrates that even buttons can resize to accommodate changed button content, causing the document to automatically reflow around them.

Browser/Platform Compatibility
This sample is supported in Microsoft Internet Explorer 4 and Internet Explorer 5 on the Microsoft Win32 and UNIX platforms.

Complete Article

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like