Wordpress 3.0 jQuery - part 22

Tham khảo tài liệu 'wordpress jquery - part 22', công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | WordPress and Query s UI Effects The main feature is the .effect function but the standard animation functions and shortcuts that are available in jQuery are enhanced with the jQuery UI plugin s effects core . This core also includes the ability to color animate and also include additional easing options so if you include it into your project you won t need the Color or Easing plugins that we ve been working with previously. The jQuery effects comprise Effect This function allows you to assign an effect from a set of 15 to any object. Show This enhanced show method optionally accepts jQuery UI advanced effects. Hide This enhanced hide method optionally accepts jQuery UI advanced effects. Toggle This enhanced toggle method optionally accepts jQuery UI advanced effects. Color animation The Color plugin that we learned about in Chapter 5 jQuery Animation within WordPress is included into the jQuery UI effects core. Again it simply extends the animate function to be able to animate colors as well. Add class Adds the specified class to each of the set of matched elements with an optional transition between the states. Remove class Removes all or a specified class from each of the set of matched elements with an optional transition between the states. Toggle class Adds the specified class if it is not present and removes the specified class if it is present using an optional transition. Switch class Switches from the class defined in the first argument to the class defined as second argument using an optional transition. jQuery UI plugin versions bundled in WordPress Most of the jQuery UI plugin s main widget and interaction cores are available bundled into your WordPress installation. If you re using WordPress you ve got jQuery bundled in and the UI plugin core is and you ve also got the following jQuery UI widgets and interactions available Dialog Draggable Droppable Resizable Selectable Sortable and Tabs. 196 Chapter 6 If you re using WordPress .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã 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.