1. Trang chủ
  2. » Công Nghệ Thông Tin

JavaScript Bible, Gold Edition part 101 pptx

10 218 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 10
Dung lượng 145,26 KB

Nội dung

848 Part III ✦ Document Objects Reference Table 30-3 IE5.5 DXImageTransform.Microsoft Filter Names Filter Name Description and Properties Alpha() Transparency level Properties: opacity (0 to 100) finishopacity (0 to 100) style (gradient shape 0 to 3) startX (coordinate integer) startY (coordinate integer) finishX (coordinate integer) finishY (coordinate integer) Barn() Barn-door style transition Properties: duration (floating-point number of seconds) motion (in or out) orientation (horizontal or vertical) percent (0 to 100) status 0 (stopped), 1 (applied), 2 (playing) Methods: apply() (freezes current display) play() (plays the transition) stop() (stops transition mid-stream) BasicImage() Element rotation, flip, color effects, and opacity Properties: grayScale (1 or 0) invert (1 or 0) mask (1 or 0) maskColor (color value) mirror (1 or 0) opacity (0.0 to 1.0) rotation 0 (no rotation), 1 (90°), 2 (180°), 3 (270°) xRay (1 or 0) elementRef.style.filterObject 849 Chapter 30 ✦ Style Sheet and Style Objects Filter Name Description and Properties Blinds() Action transition with Venetian blind effect Properties: direction (up, down, right, left) squaresX (integer column count) squaresY (integer row count) status 0 (stopped), 1 (applied), 2 (playing) Methods: apply() (freezes current display) play() (plays the transition) stop() (stops transition mid-stream) Checkerboard() Action transition with checkerboard effect Properties: bands (1 to 100) direction (up, down, right, left) duration (floating-point number of seconds) percent (0 to 100) slideStyle (HIDE, PUSH, SWAP) status 0 (stopped), 1 (applied), 2 (playing) Methods: apply() (freezes current display) play() (plays the transition) stop() (stops transition mid-stream) Chroma() Color transparency Properties: color (color value) DropShadow() Shadow effect Properties: color (color value) offx (horizontal offset pixels) offy (vertical offset pixels) positive (1 or 0) Continued elementRef.style.filterObject 850 Part III ✦ Document Objects Reference Table 30-3 (continued) Filter Name Description and Properties Fade() Blend transition Properties: duration (floating-point number of seconds) overlap (0.0 to 1.0 seconds) percent (0 to 100) status 0 (stopped), 1 (applied), 2 (playing) Methods: apply() (freezes current display) play() (plays the transition) stop() (stops transition mid-stream) Glow() Outer edge radiance Properties: color (color value) strength (intensity 1 to 255) Iris() Action transition with zoom effect Properties: duration (floating-point number of seconds) irisStyle (CIRCLE, CROSS, DIAMOND, PLUS, SQUARE, STAR) motion (in or out) percent (0 to 100) status 0 (stopped), 1 (applied), 2 (playing) Methods: apply() (freezes current display) play() (plays the transition) stop() (stops transition mid- stream) Light() Add light source (controlled by methods) Properties: None Methods: addAmbient(red,green,blue,strength) elementRef.style.filterObject 851 Chapter 30 ✦ Style Sheet and Style Objects Filter Name Description and Properties addCone (sourceLeft, sourceTop, sourceZAxis, targetLeft, targetTop, red, green, blue, strength, spreadAngle) addPoint (sourceLeft, sourceTop, sourceZAxis, red, green, blue, strength) changeColor (lightID, red, green, blue, absoluteColor Flag) changeStrength (lightID, strength, absolute IntensityFlag) clear() moveLight (lightID, sourceLeft, sourceTop, sourceZAxis, absolute MovementFlag) MaskFilter() Overlay transparent mask Properties: color (color value) MotionBlur() Simulating blurred motion Properties: add (1 or 0) direction (0, 45, 90, 135, 180, 225, 270, 315) strength (pixel count) Continued elementRef.style.filterObject 852 Part III ✦ Document Objects Reference Table 30-3 (continued) Filter Name Description and Properties RandomDissolve() Pixelated dissolve transition Properties: duration (floating-point number of seconds) percent (0 to 100) status 0 (stopped), 1 (applied), 2 (playing) Methods: apply() (freezes current display) play() (plays the transition) stop() (stops transition mid-stream) RandomBars() Bar style transition Properties: duration (floating-point number of seconds) orientation (horizontal or vertical) percent (0 to 100) status 0 (stopped), 1 (applied), 2 (playing) Methods: apply() (freezes current display) play() (plays the transition) stop() (stops transition mid-stream) Shadow() Render as silhouette Properties: color (color value) direction (0, 45, 90, 135, 180, 225, 270, 315) Strips() Striped style transition Properties: duration (floating-point number of seconds) motion (in or out) percent (0 to 100) elementRef.style.filterObject 853 Chapter 30 ✦ Style Sheet and Style Objects Filter Name Description and Properties status 0 (stopped), 1 (applied), 2 (playing) Methods: apply() (freezes current display) play() (plays the transition) stop() (stops transition mid-stream) Wave() Add sine-wave distortion Properties: add (1 or 0) freq (integer number of waves) light (strength 0 to 100) phase (percentage offset 0 to 100) strength (intensity 0 to 255) xRay() Render edges only Properties: None For more details on deploying filters in IE for Windows, visit http:// msdn.microsoft.com/workshop/author/filter/filters.asp . Because most of the live examples require IE5.5+/Windows, be sure to use that version for the best experience at that page. ✦✦✦ elementRef.style.filterObject . 848 Part III ✦ Document Objects Reference Table 30-3 IE5.5 DXImageTransform.Microsoft Filter Names Filter. pixels) offy (vertical offset pixels) positive (1 or 0) Continued elementRef.style.filterObject 850 Part III ✦ Document Objects Reference Table 30-3 (continued) Filter Name Description and Properties Fade(). 90, 135, 180, 225, 270, 315) strength (pixel count) Continued elementRef.style.filterObject 852 Part III ✦ Document Objects Reference Table 30-3 (continued) Filter Name Description and Properties RandomDissolve()

Ngày đăng: 06/07/2014, 06:20