Đang chuẩn bị liên kết để tải về tài liệu:
Practical prototype and scipt.aculo.us part 40

Không đóng trình duyệt đến khi xuất hiện nút TẢI XUỐNG

Practical prototype and scipt.aculo.us part 40: The information in this book is distributed on an "as is" basis, without warranty Although every pre-caution has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in this work. | CHAPTER 10 INTRODUCTION TO SCRIPT.ACULO.US EFFECTS 229 Figure 10-8. Effect.Move animates an element s position. 230 CHAPTER 10 INTRODUCTION TO SCRIPT.ACULO.US EFFECTS Effect.Scale Effect.Scale handles well scaling changing the size of an element and optionally the size of its contents by a given percentage see Figure 10-9 new Effect.Scale box 150 BOX BOX Figure 10-9. Effect.Scale animates an element s height and width. CHAPTER 10 INTRODUCTION TO SCRIPT.ACULO.US EFFECTS 231 The second argument is an integer that represents the scaling percentage. In this example the element grows to 150 percent of its original size. Note that the contents of the box have been scaled as well the text is also 150 percent bigger. Effect.Scale also supports several optional parameters for more granular control of the effect see Figure 10-10 new Effect.Scale box 100 scaleContent false scaleFrom 50.0 scaleFromCenter true A Figure 10-10. Effect.Scale is broadly .

Đã 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.