Web hosting company - 847Chapter 30 .Style Sheet and Style Objects Strips

847Chapter 30 .Style Sheet and Style Objects

Click on the image to cause a reveal transition.

IE5.5 filter syntax changes While IE5.5/Windows still supports the original IE4 way of controlling filters, the browser also implements a new filter component, which Microsoft strongly encourages authors to use (as evidenced by the difficulty in finding documentation for the IE4 syntax at its developer Web site). In the process of implementing this new filter component, the names of many filters change, as do their individual properties. Moreover, the way the filter component is invoked in the style sheet is also quite different from the original component. The style sheet syntax requires a reference to the new component as well as the filter name. Here is the old way: #glower {filter:glow(color=yellow, strength=5, enabled=true)} And here is the new way: #glower {filter:progid:DXImageTransform.Microsoft.Glow(color=yellow, strength=5, enabled=true)} Don t overlook the extra progid:pointer in the reference. This program identifier becomes part of the filter name that your scripts use to reference the filter: document.all.glower.style.filters[ DXImageTransform.Microsoft.Glow ].color = green While some of the filter names and properties stay the same (except for the huge prefix), several older properties are subsumed by new filters whose properties help identify the specific effect. The former revealTrans() filter is now divided among several new filters dedicated to transition effects. Table 30-3 shows the IE5.5 syntax. Note Using the new syntax in IE5.5 can cause frequent crashes of the browser (at least early released versions), especially transition filters. If you implement the new syntax, be sure to torture-test your pages extensively. elementRef.style.filterObject
We recommend high quality webhost to host and run your jsp application: christian web host services.

Leave a Reply