TAILIEUCHUNG - JavaScript Bible, Gold Edition part 91

JavaScript Bible, Gold Edition part 91. 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. | 748 Part III Document Objects Reference Most commonly you use expressions consisting of this property as if construction condition statements. Because these are Boolean values you can combine multiple properties in a single condition. For example if you have a branch of a function that is to execute only if the event occurred with both the Shift and Control keys held down the condition looks as the following if statements to execute Conversely you can take a more user-friendly approach to provide special processing if the user holds down any one of the three modifier keys if statements to execute The rationale behind this approach is to offer perhaps some shortcut operation for users but not force them to memorize a specific modifier key combination. Example See Listing 29-10 where the values of these three properties are used to set the checked properties of corresponding checkboxes for a variety of event types. Related Items altLeft ctrlLeft shiftLeft properties. altLeft ctrlLeft shiftLeft Value Boolean Read-Only NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility Some versions of Windows notably Windows NT and Windows 2000 allow events to be modified by only the left-hand Alt Ctrl and Shift keys when using . For these modifiers to be recorded by the event object focus must be on the document body and not in any form control. If the left-key version is false and the regular version is true then your script knows that the right-hand key had been held down during the event. Related Items altKey ctrlKey shiftKey properties. IE Chapter 29 Event Objects 749 behaviorCookie behaviorPart Value Integer Read-Only NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility These two properties are related to a Windows technology that Microsoft calls rendering behaviors. Unlike the behaviors discussed under the addBehavior method in Chapter 15 rendering behaviors are written in C .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.