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

Chapter 14. Working with DHTML > Modifying a DHTML Drop Shadow

Modifying a DHTML Drop Shadow

(IE Windows)

There are very few modifications you can make to DHTML objects with JavaScript in Netscape. Internet Explorer for Windows, on the other hand, has a non-standard data type called filters, which gives JavaScript access to many ways to modify objects. Script 14.10 shows the use of the drop shadow filter (called dropShadow) to modify text appearance. The drop shadow starts 50 pixels over and down from the original text, and then moves closer and closer until they overlap (Figure 14.12).

Script 14.10. Use Internet Explorer's drop shadow filter with JavaScript to move the drop shadow on this text.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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