Skip navigation

Internet Explorer 5 Demos : Footnote DHTML Behavior

Description DHTML Behaviors are a new Internet Explorer 5 feature that enable developers to create reusable functionality that can use and extend the object model, and can easily be leveraged by page authors. DHTML Behaviors can be used to modify or extend the behavior of existing HTML tags, or to create tags with new functionality.

More Details
In the demo, notice that the script that implements the footnote (or actually, endnote) functionality is encapsulated in a separate file. Also notice that the footnote behavior extends the object model, exposing two new properties, refFormat and textFormat. To use footnotes on a Web page, the page author simply inserts and tags, which enclose the text of the note, into the flow of the document.

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

Usage Use the proposed new CSS behavior attribute to associate a behavior with a CSS class.

Complete Article

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish