• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16. Dynamic HTML: Changing Web P... > Internet Explorer Direct Animation

Internet Explorer Direct Animation

The Internet Explorer comes with even more powerful tools, such as Direct Animation. Direct Animation enables you to create and move graphics and image objects of great complexity. In fact, many people find Direct Animation pretty complex to use, which may account for the fact that it’s not in widespread use. (I’ve never seen a web page “in the wild” that uses it.) What it does can also be done in many cases with styles or other applications such as Macromedia Flash.

Here’s an example that uses Direct Animation. In this case, the code creates a figure made of three boxes with various colors—purple, red, green, and blue—and then makes that figure slowly revolve and move above the other elements on the page, making it appear that it’s floating above them. Note that this example uses the Direct Animation ActiveX control that is installed with Internet Explorer and that you access with the <OBJECT> element:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint