|
作者:Cameron Adams, James Edwards
出版日期:March 2, 2006
出版社:其它
页数:592
ISBN:ISBN-10: 0975240269 ISBN-13: 978-0975240267
文件格式:PDF
Using a cookbook approach, The JavaScript Anthology will show you how
to apply JavaScript to solve over 101 common Web Development
challenges. You’ll discover how-to:
Optimize your code so that it runs fasterCreate Ajax applications with the XmlHttpRequest objectValidate web forms to improve usabilityTake control of your web pages with the DOMEnsure that your JavaScript code is accessibleCreate slick drop-down menu systemsIncluded in this book is extensive coverage of DHTML and Ajax,
including how-to create and customize advanced effects such as
draggable elements, dynamically sorting data in a Web Browser, advanced
menu systems, retrieving data from a Web Server using XMLHttpRequest
and more.
The JavaScript Anthology also includes
extensive coverage of object oriented coding, efficient script design,
accessibility, and cross-browser issues. Best of all, you’ll get
download access to all the code used in the book, so you can put the
scripts to use instantly.
From the Publisher
“Take control with the ultimate JavaScript toolkit”
The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks
provides you with tried and tested real-world solutions to over 100
real-world scripting problems.
Among the 101 Tips, Tricks & Hacks you’ll learn how-to:
- Search and replace text using regular expressions.
- Navigate the DOM and create, delete, and move elements on the page.
- Validate email addresses on your web forms.
- Print inline error messages when validating forms.
- Minimize the problems associated with popup windows.
- Make a slideshow of images.
- Ensure your code works on different browsers.
- Make a style sheet switcher.
- Build an accessible drop-down menu system.
- Construct drag ‘n’ drop interfaces using AJAX.
- Use JavaScript and Flash together.
- Make your JavaScript accessible: an in-depth look at minimizing the accessibility problems associated with using JavaScript.
- Use the XMLHttpRequest object to build AJAX applications.
- Optimize your JavaScript code so that it runs faster.
- And much more!
Who Should Read This Book?
If you’re using JavaScript on your projects right now, and you want to
do things faster and better, this book is for you. The JavaScript
Anthology will save you the frustration of hunting down code on the Web
only to find that it isn’t customizable, and doesn’t represent best
practice or work across different browsers.
The JavaScript
Anthology: 101 Essential Tips, Tricks & Hacks contains thoroughly
tested, cross-browser code that you can easily modify to suit your own
needs.
The book is written in the usual SitePoint style: it’s
clear and fun to read, with plenty of example code that you can apply
immediately to your own web sites. Plus, it’s super-easy to navigate
the book to find exactly what you want thanks to its cookbook approach
and professionally-produced index. It’s the perfect reference book.
There’s no need to re-type any of the code in the book. As always,
customers receive instant download access to all the files used in the
book, so you can apply them immediately to your own projects. |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
×
|