tailieunhanh - JavaScript Bible, Gold Edition part 210

JavaScript Bible, Gold Edition part 210. 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. | CD-582 Part VI Appendixes You can find the corresponding syntax for IE5 and NN6 in Listing 31-16. Listing 31-5 Comparison of Layer and Clip Location Properties HTML HEAD TITLE Layer vs. Clip TITLE SCRIPT LANGUAGE JavaScript function setClip field var clipVal parselnt clipVal showValues function setLayer field var layerVal parselnt layerVal showValues function showValues var form 0 . 0 0 .value 1 .value 2 .value 3 .value SCRIPT HEAD BODY onLoad showValues B Layer vs. Clip Location Properties B HR Enter new layer and clipping values to adjust the layer. P LAYER T0P 80 F0RM TABLE TR TD ALIGN right TD TD INPUT TYPE text NAME left SIZE 3 onChange setLayer this TD TR TR TD ALIGN right TD TD INPUT TYPE text NAME top SIZE 3 onChange setLayer this TD TR TR TD ALIGN right TD TD INPUT TYPE text NAME left SIZE 3 onChange setClip this TD TR document. layerObjectAeft Appendix F Examples from Parts III and IV CD-583 TR TD ALIGN right TD TD INPUT TYPE text NAME top SIZE 3 onChange setClip this TD TR TABLE F0RM LAYER LAYER NAME display BGCOLOR coral T0P 80 LEFT 200 WIDTH 360 HEIGHT 180 H2 ARTICLE I H2 P Congress shall make no law respecting an establishment of religion or prohibiting the free exercise thereof or abridging the freedom of speech or of the press or the right of the people peaceably to assemble and to petition the government for a redress of grievances. P LAYER BODY HTML pageX pageY NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility Example Listing 31-6 defines one outer layer and one nested inner layer of different colors see Figure 31-3 . The inner layer contains some text content the outer layer is sized initially to present a colorful border by

TỪ KHÓA LIÊN QUAN