TAILIEUCHUNG - JavaScript Bible, Gold Edition part 182

JavaScript Bible, Gold Edition part 182. 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-302 Part VI Appendixes Listing 16-35 continued SCRIPT LANGUAGE function page direction var pixFrame var deltaY if direction up deltaY -deltaY 0 deltaY function customScroll form parseInt parselnt SCRIPT HEAD BODY B ScrollBy Controller B FORM NAME custom Enter an Horizontal increment INPUT TYPE text NAME x VALUE 0 SIZE 4 and Vertical INPUT TYPE text NAME y VALUE 0 SIZE 4 value. BR Then INPUT TYPE button VALUE click to scrollBy onClick customScroll HR INPUT TYPE button VALUE PageDown onClick page down INPUT TYPE button VALUE PageUp onClick page up FORM BODY HTML setCursor cursorType NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility Appendix F Examples from Parts III and IV CD-303 Example Use The Evaluator Chapter 13 in NN6 to experiment with setting the cursor. After clicking the top text box in preparation for typing roll the cursor to a location atop an empty spot on the page. Then enter the following statements one at a time into the top text box and press Enter Return setCursorC wait setCursorC spinning setCursorC move After evaluating each statement roll the cursor around the page and notice where the cursor reverts to its normal appearance. setInterval expr msecDelay language setInterval funcRef msecDelay funcargl . funcargn NN2 NN3 NN4 NN6 IE3 J1 IE3 J2 IE4 IE5 Compatibility Example The demonstration of the setInterval method entails a two-framed environment. The framesetting document is shown in Listing 16-36. Listing 16-36 SetInterval Demonstration Frameset HTML HEAD TITLE setInterval Method TITLE HEAD FRAMESET R0WS 50 50 FRAME SRC NAME control FRAME SRC NAME display FRAMESET HTML nterval CD-304 Part VI Appendixes In the top frame is a control panel with several buttons that control the .

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
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.