TAILIEUCHUNG - jQuery UI 1.6 The User Interface Library for jQuery phần 9

Tất cả chúng ta cần làm để cho phép hoạt động IS tài sản thiết lập là true. Vậy đó, không có cấu hình thêm trên là bắt buộc. Một tùy chọn khác là chúng tôi có Để thiết lập tốc độ của hình ảnh động, nào chúng tôi có thực hiện trong ví dụ này, bởi animateDuration Cung cấp tài sản. | Chapter 11 The effects of these properties can easily be seen when the page is run in a browser Let s look at some more properties. Change so that it appears as follows instead DOCTYPE HTML PUBLIC - W3C DTD HTML EN http TR html4 html lang en head link rel stylesheet type text css href styles meta http-equiv Content-Type content text html charset utf-8 title jQuery UI Sortable Example 5 title head body div id container p Put these DJ s in order of your preference p div id sortables div BT div class handle div div div Sasha div class handle div div div John Digweed div class handle div div div Pete Tong div class handle div div 329 Sorting div James Zabiela div class handle div div div div script type text javascript src script script type text javascript src ui script script type text javascript src ui script script type text javascript function to execute when doc ready function define config object var sortOpts revert slow handle .handle delay 1000 opacity make specified element sortable sortables .sortable sortOpts script body html Save this as . The revert property has a default value of true but can also take one of the speed string values slow normal or fast that we ve seen in other animation properties. The delay property accepts a value in milliseconds that the component should wait before allowing the sort to begin. This property won t prevent the sort from occurring even if the mouse button is let go of or the pointer is moved away from the sortable. It will still get picked up after the specified time has elapsed. The value of the opacity property is used to specify the CSS opacity of the element that is being sorted while the sort takes place. The value should be a floating-point number between 0 and 1 with 1 corresponding to no opacity and 0 specifying full opacity. Note that the opacity .

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.