This document summarizes key Javascript objects and their properties and methods. It lists the Window, Frame, Location, History, Navigator, and document objects. It also summarizes the image, form, and text objects. Finally, it provides information on CSS properties, pseudo-classes, and pseudo-elements.
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
46 views
Javscript+css Dokumentacija
This document summarizes key Javascript objects and their properties and methods. It lists the Window, Frame, Location, History, Navigator, and document objects. It also summarizes the image, form, and text objects. Finally, it provides information on CSS properties, pseudo-classes, and pseudo-elements.
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 6
Javascript Hierarchy Objects
Object Properties Methods Event Handlers
Window defaultStatus alert onLoad frames blur onUnload opener close onBlur parent confirm onFocus scroll focus self open status prompt top clearTimeout window setTimeout Frame defaultStatus alert none (The onLoad and onUnload frames blur event handlers belong to the Window opener close object) parent confirm scroll focus self open status prompt top clearTimeout window setTimeout Location hash reload none host replace hostname href pathname por protocol search History length back none forward go Navigator appCodeName javaEnabled none appName appVersion mimeTypes plugins userAgent document alinkColor clear none (the onLoad and onUnload anchors close event handlers belong to the Window applets open object. area write Javascript Hierarchy Objects Object Properties Methods Event Handlers bgColor writeln cookie fgColor forms images lastModified linkColor links location referrer title vlinkColor image border none none complete height hspace lowsrc name src vspace width form action submit onSubmit elements reset onReset encoding FileUpload method name target text defaultValue focus onBlur name blur onCharge type select onFocus value onSelect Built-in Objects Array length join none reverse sort xx Date none getDate none getDay getHours getMinutes getMonth getSeconds getTime getTimeZoneoffset getYear parse prototype setDate setHours setMinutes setMonth setSeconds setTime setYear toGMTString toLocaleString UTC String length anchor toLowerCase Window prototype big toUpperCase blink bold charAt fixed fontColor fontSize indexOf italics lastIndexOf link small split strike sub substring sup Cascading style sheets (CSS) properties
Attribute Property Possible Values
background- value fixed, default
attachment background-color: color a color value background-image: location none, url(location) background-position value background-repeat value border: width, style, color value for width dotted, dashed, inset a color value border-bottom: width, style, color value for width dotted, dashed, inset a color value border-left: width, style, color value for width dotted, dashed, inset a color value border-right: width, style, color value for width dotted, dashed, inset a color value border-top: width, style, color value for width dotted, dashed, inset a color value clear: value none, left, right, both color: color a color value cursor: value auto, crosshair, default, hand, move, text, wait, help, n-resize, ne-resize, nw-resize, s-resize, se-resize, sw-resize, e-resize, w-resize display value block, inline font-family: familyName Times,Helvetica,serif, sans-serif, Courier, Western, cursive font-size: size xx-small, small, medium, large, x-large, Attribute Property Possible Values xx-large value in cm, mm, in, pt, px, pc percentage font-style: style normal, italic, oblique font-variant: variant normal, small-caps font-weight: weight normal, bold, bolder, lighter, 100, 200, 300,... 900 height: value value in cm, mm, in, pt, px, pc percentage letter-spacing: value normal value in cm, mm, in, pt, px, pc line-height: value normal value in cm, mm, in, pt, px, pc percentage list-style-image: URL url(location) list-style-type: type disc, circle, square, decimal, none lower-roman, upper-roman, lower-alpha, upper-alpha margin: value value in cm, mm, in, pt, px, pc percentage margin-left: value value in cm, mm, in, pt, px, pc percentage margin-right: value value in cm, mm, in, pt, px, pc percentage margin-top: value value in cm, mm, in, pt, px, pc percentage padding: value value in cm, mm, in, pt, px, pc percentage text-align: alignment left, right, center, justify text-decoration: decoration none, underline, overline, line-through, blink text-indent: indentation value in cm, mm, in, pt, px, pc percentage text-transform: transformation none, capitalize, uppercase, lowercase vertical-align: alignment baseline, sub, super, top, middle, bottom, text-top, text-bottom Attribute Property Possible Values visibility: visibility inherit, visible, hidden white-space value value in cm, mm, in, pt, px, pc percentage width: value value in cm, mm, in, pt, px, pc percentage word-spacing value value in cm, mm, in, pt, px, pc percentage