tailieunhanh - JavaScript Bible, Gold Edition part 64

JavaScript Bible, Gold Edition part 64. This book will bring programmers and non-technical professionals, including casual programmers and scripters, painlessly up to speed on all aspects of mastering JavaScript. Key topics include programming fundamentals, JavaScript language elements and how to use them effectively, and how to easily and efficiently add powerful new functionality to HTML documents and Java applets. | 478 Part III Document Objects Reference avoiding dynamic font changes by way of the BASEFONT element and use scripts to control style sheets instead. Note The BASEFONT element has no end tag so IE s outerHTML property consists of all HTML in the document starting with the element itself. The three distinctive properties of the BASEFONT element object are rarely if ever scripted. Properties color face size Value String Read Write NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility These three properties define the characteristics of font rendering for all content following the element s tag in the document. Color specifications can be hexa-decimal triplets or Netscape color names a list is available at http developer. docs manuals htmlguid . Font faces can include a list of comma-separated font face names. And because this is HTML as opposed to style sheet fonts the size property is in terms of the 1 through 7 scale of font sizes. You can also use relative sizes for example 1 . On the Example on the CD-ROM CD-ROM r ISINDEX Element Object For HTML element properties methods and event handlers see Chapter 15. Properties Methods Event Handlers alt border checked complete ISINDEX Chapter 20 HTML Directive Objects 479 Properties Methods Event Handlers dynsrc form height hspace indeterminate loop lowsrc maxLength name prompt readonly size start status value vrml vspace width Syntax Accessing ISINDEX element object properties or methods IE4 window. method parameters IE5 NN6 window. elemID .property method parameters About this object The ISINDEX element is a holdover from the early beginnings of HTML. It offered the first text input field prior to the addition of FORM and INPUT elements to the HTML specification. IE treats this element as if it were an INPUT element so ISINDEX takes on all possible INPUT element properties including those of buttons . This element is deprecated in HTML

TỪ KHÓA LIÊN QUAN