tailieunhanh - JavaScript Bible, Gold Edition part 36

JavaScript Bible, Gold Edition part 36. 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. | 198 Part III Document Objects Reference property . It is not uncommon to wish to block the context menu from appearing so that users are somewhat inhibited from downloading copies of images or viewing the source code of a frame. Be aware however that if a user turns Active Scripting off in IE5 the event handler cannot prevent the context menu from appearing. Another possibility for this event is to trigger the display of a custom context menu constructed with other DHTML facilities. In this case you must also disable the intrinsic context menu so that both menus do not display at the same time. Example on the CD-ROM Related Items releaseCapture setCapture methods. onControlSelect NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility The onControlSelect event should fire just before a user makes a selection on what Microsoft calls a control selection. Microsoft is less than clear in explaining what a control selection is but it appears to have something to do with a user edit mode. I have not been able to have this event fire naturally in . If I receive further details they will appear at the JavaScript Bible Support Center http . Related Items onResizeEnd onResizeStart event handlers. onCopy onCut NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility The onCopy and onCut events not implemented in IE5 Mac fire immediately after the user or script initiates a copy or cut edit action on the current object. Each event is preceded by its associated before event which fires before any Edit or context menu appears or before the copy or cut action if initiated by keyboard shortcut . Use these event handlers to provide edit functionality to elements that don t normally allow copying or cutting. In such circumstances you need to enable the Copy or Cut menu items in the context or Edit menu by setting the for the onBeforeCopy or onBeforeCut event handlers to false. Then your onCopy or onCut event handlers must manually stuff a .

TỪ KHÓA LIÊN QUAN