TAILIEUCHUNG - Apress Introducing dot NET 4 0 with Visual Studio 2010_6

Nếu bạn không muốn hiệu quả của việc mã jQuery tay của bạn, bạn có thể sử dụng một công cụ tuyệt vời Glimmer được gọi là sản xuất bởi Microsoft cung cấp một cách tiếp cận dựa trên hướng dẫn | CHAPTER 12 JQUERY Additional Effects In addition to the previous effects a number of additional effects can be downloaded fold pulsate puff bounce and explode my personal favorite . For more details on these effects please go to http docs. UI Effects. Glimmer If you don t want to hand-code your jQuery effects you can use a great tool called Glimmer produced by Microsoft that offers a wizard-based approach see Figure 12-4 . Refer to http lab glimmer. Figure 12-4. Glimmer allows you to easily construct jQuery effects Glimmer allows the construction of simple effects such as rotating images drop-down menus and animation. jQuery Tools jQueryPad http .com jquerypad and http can be very useful tools for prototyping and playing with jQuery. 282 CHAPTER 12 JQUERY Chaining Events The real power of jQuery comes from its capability to chain functions together. Imagine that we wanted to fade our div in and out a number of times. This procedure can be easily accomplished with the following code div1 .fadeOut .fadeIn .fadeOut .fadeIn .fadeOut Customizing jQuery You can add your own functions to the jQuery library. For example to create a simple function that will pop up an alert box you can do so with the following code don t use alias in case user overrides it function message alert jQuery says message return this You can then call the new function with the following code . hello .say good bye And there is of course no reason why you couldn t write a new effects function and use it as part of a chain of effects. For more information please refer to http Plugins Authoring. AJAX Methods It is very common for performance optimization to need to retrieve data or code from an external source after a page is loaded. jQuery makes this very easy. Load and Run JavaScript File The following code loads an external JavaScript file called and then executes it .ajax type GET url dataType .

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
19    228    0    19-04-2024
8    170    0    19-04-2024
10    155    0    19-04-2024
15    183    0    19-04-2024
10    115    0    19-04-2024
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.