BETA-INFO: DHTML Behaviors Limited to One Per HTML Element

Article ID: Q188866

********************************************************************
     BETA INFORMATION  BETA INFORMATION  BETA INFORMATION  BETA

     This article discusses a Beta release of a Microsoft
     product. The information in this article is provided as-is
     and is subject to change without notice.

     No formal product support is available from Microsoft for
     this Beta product. For information about obtaining support
     for a Beta release, please see the documentation included
     with the Beta product files, or check the Web location
     from which you downloaded the release.

     BETA INFORMATION  BETA INFORMATION  BETA INFORMATION  BETA
********************************************************************

The information in this article applies to:

SUMMARY

Dynamic HTML (DHTML) Behaviors are a new feature in Microsoft Internet Explorer 5.0. DHTML Behaviors are used to implement specific functionality, which can then be applied to HTML elements on a Web page.

A DHTML Behavior is applied to an element by changing the element's STYLE attribute to include the proposed CSS "behavior" attribute.

In the Developer Preview release of Internet Explorer 5.0, only a single behavior can be attached to an HTML element.

MORE INFORMATION

The following sample DHTML demonstrates how to apply a behavior to an HTML element:

   <HTML>
   <HEAD>
   <TITLE>Behavior Example</TITLE>
   </HEAD>
   <BODY>
   <H1>This image has the "bounce" behavior attached to it</H1>
   <IMG SRC="image.gif" STYLE="behavior:url(bounce.sct)">
   </BODY>
   </HTML>

REFERENCES

For more information about the technologies discussed in this article, please refer to the documentation in the Site Builder Network (SBN) Workshop:

   http://www.microsoft.com/workshop/ 

(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Mark Davis, Microsoft Corporation

Additional query words: kbbeta BetaPublic

Keywords          : AXSDKIEScripting 
Version           : WINDOWS:5.0dp1
Platform          : WINDOWS
Issue type        : kbinfo


Last Reviewed: July 3, 1998
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.