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

." Được đặt trong một năm HTML tag thuộc tính. Nó là không phải ở các trình duyệt hiện tại hỗ trợ rộng rãi để May Be Trong Tương lai. Xem thêm: tiêm chích ma túy, URI, URL Trong một trang mới trong trình soạn thảo văn bản của bạn | Tabs Configurable properties An object can be passed to the tabs constructor method to configure different properties of the tabbed interface. The following table provides the available properties to configure non-default behaviours when using the tabs widget Property Default Value Usage ajaxOptions Options for remote AJAX tabs cache false Load remote tab content only once lazy-load cookie null Show active tab using cookie data on page load disabled Disable specified tabs on pageload idPrefix ui-tabs- Used when a remote tab s link element has no title attribute event click Tabs event that triggers display of content fx null Specify a transition effect when changing tabs panelTemplate div div A string specifying the elements used for the content section of a dynamically created tab selected 0 The tab selected by default when the widget renders spinner Loading B230 Specify the loading spinner for remote tabs tabTemplate li a href href span label span a li A string specifying the elements used when creating new tabs dynamically unselect false Hides an already selected tab when it is clicked In addition to these properties default values for all of the class names for the different elements and states of the tab widget are also defined Property Default Value disabledCLass ui-tabs-disabled hideClass ui-tabs-hide loadingClass ui-tabs-loading navClass ui-tabs-nav panelClass ui-tabs-panel selectedClass ui-tabs-selected unselectClass ui-tabs-unselect 28 Chapter 2 We targeted some of these properties when we wrote our custom stylesheet in the previous example. These properties make the widget more flexible in the class names that are automatically applied to different elements within it. Let s look at how these configurable properties can be used. For example if we wanted to configure the tabs to initially display the second content panel when the widget is rendered we could use the following code DOCTYPE HTML PUBLIC - W3C DTD HTML EN http TR html4

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.