tailieunhanh - JavaScript Bible, Gold Edition part 211

JavaScript Bible, Gold Edition part 211. 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-592 Part VI Appendixes Listing 31-20 shows how to achieve the same action with IE5 and NN6 syntax. Listing 31-9 Relationships Among zIndex above and below HTML HEAD TITLE Layer zIndex TITLE SCRIPT LANGUAGE JavaScript function setZ field switch case top parseInt break case mid parseInt break case bot parseInt showValues function showValues 0 . 0 . 1 . 0 . 2 . 0 . 0 . 0 . none 1 . 0 . none 2 . 0 . none 0 . 0 . none 1 . 0 . none 2 . 0 . none SCRIPT HEAD BODY onLoad showValues B Setting the TT TT Property of Sibling Layers B HR Enter new zIndex values to see the effect on three layers. P LAYER TOP 90 WIDTH 240 BGCOLOR coral FORM Control Original Bottom Layer BR document. Appendix F Examples from Parts III and IV CD-593 TABLE TR TD ALIGN right Layer zIndex TD TD INPUT TYPE text NAME bot SIZE 3 onChange setZ this TD TR TR TD ALIGN right Layer above TD TD INPUT TYPE text NAME above SIZE 13 TD TR TR TD ALIGN right Layer below TD TD INPUT TYPE text NAME below SIZE 13 TD TR TABLE FORM LAYER LAYER TOP 220 WIDTH 240 BGCOLOR aquamarine FORM Control Original Middle Layer BR TABLE TR TD ALIGN right Layer zIndex TD TD INPUT TYPE text NAME

TỪ KHÓA LIÊN QUAN