tailieunhanh - JavaScript FOR ™ DUMmIES phần 2

Mặc dù JavaScript chắc chắn sẽ không được nhầm lẫn với các cách hiệu quả nhất để tạo ra các hình ảnh động mật độ cao, bạn có thể sử dụng JavaScript với các trang theo tầng (kết hợp đôi khi được gọi là DHTML) để tạo ra một loạt các hiệu ứng hoạt hình thực sự gọn gàng. | Chapter 1 All You Ever Wanted to Know about JavaScript 19 Create cool dynamic animated effects Many folks assume that you need Java to create animations for the Web but that s just not so. Although JavaScript certainly won t be mistaken for the most efficient way to create high-density animations you can use JavaScript with cascading style sheets the combination is sometimes known as DHTML to create a variety of really neat animated effects. As a matter of fact using JavaScript is the easiest way to implement common effects such as rollovers as you can see in Chapter 8. What Do I Need to Get Started I hope you re chomping at the bit to get started on your first JavaScript-enabled Web page First things first though . . . You have an idea of what JavaScript can do for you and you might already have something specific in mind for your first attempt. Now s the time to dive into the preliminaries what you need to get started and how to get what you need if you don t already have it. After you complete the setup you can go on to the really fun stuff Hardware For the purposes of this book I assume that you re beginning your JavaScript adventure with a personal computer or a Mac. Your machine or box to use the vernacular should be a Pentium PC or better unless it s a Power Mac and should have at least 32MB of RAM and at least 25MB free hard drive space. If none of this makes sense try asking your local hardware guru every organization seems to have at least one guru. I ve found through extensive trial and error that most hardware gurus are fairly responsive to sugar-based snack foods. You also need hardware installed that lets you connect to the Internet. This hardware usually consists of a modem and a phone line although some folks opt for even faster options such as cable or DSL digital subscriber line . Depending on your computer you might have an internal modem installed many come complete with a built-in modem. If not you can buy a modem at your local computer .

TỪ KHÓA LIÊN QUAN