Báo cáo tài liệu vi phạm
Giới thiệu
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Sức khỏe - Y tế
Văn bản luật
Nông Lâm Ngư
Kỹ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
THỊ TRƯỜNG NGÀNH HÀNG
NÔNG NGHIỆP, THỰC PHẨM
Gạo
Rau hoa quả
Nông sản khác
Sữa và sản phẩm
Thịt và sản phẩm
Dầu thực vật
Thủy sản
Thức ăn chăn nuôi, vật tư nông nghiệp
CÔNG NGHIỆP
Dệt may
Dược phẩm, Thiết bị y tế
Máy móc, thiết bị, phụ tùng
Nhựa - Hóa chất
Phân bón
Sản phẩm gỗ, Hàng thủ công mỹ nghệ
Sắt, thép
Ô tô và linh kiện
Xăng dầu
DỊCH VỤ
Logistics
Tài chính-Ngân hàng
NGHIÊN CỨU THỊ TRƯỜNG
Hoa Kỳ
Nhật Bản
Trung Quốc
Hàn Quốc
Châu Âu
ASEAN
BẢN TIN
Bản tin Thị trường hàng ngày
Bản tin Thị trường và dự báo tháng
Bản tin Thị trường giá cả vật tư
Tìm
Danh mục
Kinh doanh - Marketing
Kinh tế quản lý
Biểu mẫu - Văn bản
Tài chính - Ngân hàng
Công nghệ thông tin
Tiếng anh ngoại ngữ
Kĩ thuật công nghệ
Khoa học tự nhiên
Khoa học xã hội
Văn hóa nghệ thuật
Y tế sức khỏe
Văn bản luật
Nông lâm ngư
Kĩ năng mềm
Luận văn - Báo cáo
Giải trí - Thư giãn
Tài liệu phổ thông
Văn mẫu
NGÀNH HÀNG
NÔNG NGHIỆP, THỰC PHẨM
Gạo
Rau hoa quả
Nông sản khác
Sữa và sản phẩm
Thịt và sản phẩm
Dầu thực vật
Thủy sản
Thức ăn chăn nuôi, vật tư nông nghiệp
CÔNG NGHIỆP
Dệt may
Dược phẩm, Thiết bị y tế
Máy móc, thiết bị, phụ tùng
Nhựa - Hóa chất
Phân bón
Sản phẩm gỗ, Hàng thủ công mỹ nghệ
Sắt, thép
Ô tô và linh kiện
Xăng dầu
DỊCH VỤ
Logistics
Tài chính-Ngân hàng
NGHIÊN CỨU THỊ TRƯỜNG
Hoa Kỳ
Nhật Bản
Trung Quốc
Hàn Quốc
Châu Âu
ASEAN
BẢN TIN
Bản tin Thị trường hàng ngày
Bản tin Thị trường và dự báo tháng
Bản tin Thị trường giá cả vật tư
Thông tin
Tài liệu Xanh là gì
Điều khoản sử dụng
Chính sách bảo mật
0
Trang chủ
Công Nghệ Thông Tin
Kỹ thuật lập trình
JavaScript Bible, Gold Edition part 171
Đang chuẩn bị liên kết để tải về tài liệu:
JavaScript Bible, Gold Edition part 171
Xuân Thiện
87
10
pdf
Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG
Tải xuống
JavaScript Bible, Gold Edition part 171. 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-192 Part VI Appendixes invoked for the main element to capture a snapshot of all TextRectangles for the entire element. This array comes in handy when the script needs to get the coordinates of a rectangle for a single line as chosen in the SELECT element. Whenever the user chooses a number from the SELECT list and the value is less than the total number of TextRectangle objects in clientRects the function begins calculating the size and location of the underlying yellow highlighter. When the Full Width checkbox is checked the left and right coordinates are obtained from the getBoundingClientRect method because the entire SPAN element s rectangle is the space you re interested in otherwise you pull the left and right properties from the chosen rectangle in the clientRects array. Next comes the assignment of location and dimension values to the hiliter object s style property. The top and bottom are always pegged to whatever line is selected so the clientRects array is polled for the chosen entry s top and bottom properties. The previously calculated left value is assigned to the hiliter object s pixelLeft property while the width is calculated by subtracting the left from the right coordinates. Notice that the top and left coordinates also take into account any vertical or horizontal scrolling of the entire body of the document. If you resize the window to a smaller size line wrapping throws off the original line count. However an invocation of hilite from the onResize event handler applies the currently chosen line number to whatever content falls in that line after resizing. Listing 15-27 Using getBoundingClientRect HTML HEAD TITLE getClientRects and getBoundClientRect Methods TITLE SCRIPT LANGUAGE JavaScript function hilite var hTop hLeft hRight hBottom hWidth var select document.forms 0 .choice var n parseInt select.options select.selectedIndex .value - 1 var clientRects document.all.main.getClientRects var mainElem document.all.main if n 0 n .
TÀI LIỆU LIÊN QUAN
JavaScript Bible, Gold Edition part 215
JavaScript Bible, Gold Edition part 2
JavaScript Bible, Gold Edition part 3
JavaScript Bible, Gold Edition part 4
JavaScript Bible, Gold Edition part 5
JavaScript Bible, Gold Edition part 6
JavaScript Bible, Gold Edition part 7
JavaScript Bible, Gold Edition part 8
JavaScript Bible, Gold Edition part 9
JavaScript Bible, Gold Edition part 10
Đã 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.