tailieunhanh - JavaScript Bible, Gold Edition part 156

JavaScript Bible, Gold Edition part 156. 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. | 1398 Part V Putting JavaScript to Work Dynamic HTML also offers some possibilities for this application. The entire program can be presented in a no-frame window with the navigation interactive content and instructions frames incorporated into individual positionable objects. The interactive content area can be treated almost like a slide show with successive pages flying in from one edge. Not only is this application instructive for many JavaScript techniques but it is also fun to play with as a user. Some financial Web sites have adapted it to assist visitors with investment decisions. You can use it to dream about where to go on a dream vacation or help you decide the most ethical of a few paths confronting you in a personal dilemma. There s something about putting in data turning a crank and watching results with a bar chart to boot magically appear on the screen. Application Cross-Browser DHTML Map Puzzle Dynamic HTML allows scripts to position overlap and hide or show elements under the control of style sheets and scripting. To demonstrate modern cross-browser DHTML development techniques this chapter describes the details of a jigsaw puzzle game using pieces of a map of the lower 48 United States I think everyone would guess where Alaska and Hawaii go on a larger map of North America . I chose this application because it allows me to demonstrate several typical tasks you might want to script in DHTML hiding and showing elements handling events for multiple elements tracking the position of an element with the mouse cursor absolute positioning of elements changing the z-order of elements changing element colors and animating movement of elements. As with virtually any programming task the example code here is not laid out as the quintessential way to accomplish a particular task. Each author brings his or her own scripting style experience and implementation ideas to a design. Very often you have available several ways to accomplish the same end. If you find

TỪ KHÓA LIÊN QUAN