Nicht aus der Schweiz? Besuchen Sie lehmanns.de

AdvancED DOM Scripting (eBook)

Dynamic Web Design Techniques
eBook Download: PDF
2007 | 1st ed.
592 Seiten
Apress (Verlag)
978-1-4302-0298-1 (ISBN)

Lese- und Medienproben

AdvancED DOM Scripting - Jeffrey Sambells, Aaron Gustafson
Systemvoraussetzungen
52,99 inkl. MwSt
(CHF 51,75)
Der eBook-Verkauf erfolgt durch die Lehmanns Media GmbH (Berlin) zum Preis in Euro inkl. MwSt.
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

DOM Scripting is a vital technique for web developers and designers to learn and master in order to add such dynamic web applications as animations, maps, drag and drop, and more. This book offers comprehensive coverage of advanced DOM Scripting techniques and reads like a wish list of must have dynamic web application features, including visual effects using JavaScript libraries, Ajax, Mashups using APIs, and much more. It follows in the footsteps of

Jeremy Keith's acclaimed book, DOM Scripting (friends of ED: 1590595335, 2005), helping you master the next level with countless real world tutorials.



Jeffrey Sambells?is a graphic designer and self-taught web applications developer best known for his unique ability to merge the visual world of graphics with the mental realm of code. With a bachelor of technology degree in graphic communications management along with a minor in multimedia, Jeffrey was originally trained for the traditional paper-and-ink printing industry, but he soon realized the world of pixels and code was where his ideas would prosper. In late 1999, he cofounded We-Create, Inc., an Internet software company based in Waterloo, Ontario, which began many long nights of challenging and creative innovation. Currently, as director of research and development for We-Create, Jeffrey is responsible for investigating new and emerging Internet technologies and integrating them using web standards-compliant methods. In late 2005, he also became a Zend Certified Engineer. When not playing at the office, Jeffrey enjoys a variety of hobbies from photography to woodworking. When the opportunity arises, he also enjoys floating in a canoe on the lakes of Algonquin Provincial Park or going on an adventurous, map-free, drive with his wife. Jeffrey also maintains a personal website at JeffreySambells.com, where he shares thoughts, ideas, and opinions about web technologies, photography, design, and more. He lives in Ontario, Canada, eh, with his wife, Stephanie, his daughter, Addison, and their little dog, Milo.
As a web designer or developer, you know how powerful DOM scripting is for enhancing web pages and applications, adding dynamic functionality and improving the user experience. You've got a reasonable understanding of JavaScript and the DOM, but now you want to take your skills further. This book is all you need—it shows you how to add essential functionality to your web pages, such as on the fly layout and style changes, interface personalization, maps and search using APIs, visual effects using JavaScript libraries, and much more. Includes a quick recap of the basics, for reference purposes Packed with real world JavaScript solutions from beginning to end Written by Beginning Google Maps author Jeffrey Sambells, and includes a case study by JavaScript guru Aaron Gustafson

Jeffrey Sambells?is a graphic designer and self-taught web applications developer best known for his unique ability to merge the visual world of graphics with the mental realm of code. With a bachelor of technology degree in graphic communications management along with a minor in multimedia, Jeffrey was originally trained for the traditional paper-and-ink printing industry, but he soon realized the world of pixels and code was where his ideas would prosper. In late 1999, he cofounded We-Create, Inc., an Internet software company based in Waterloo, Ontario, which began many long nights of challenging and creative innovation. Currently, as director of research and development for We-Create, Jeffrey is responsible for investigating new and emerging Internet technologies and integrating them using web standards-compliant methods. In late 2005, he also became a Zend Certified Engineer. When not playing at the office, Jeffrey enjoys a variety of hobbies from photography to woodworking. When the opportunity arises, he also enjoys floating in a canoe on the lakes of Algonquin Provincial Park or going on an adventurous, map-free, drive with his wife. Jeffrey also maintains a personal website at JeffreySambells.com, where he shares thoughts, ideas, and opinions about web technologies, photography, design, and more. He lives in Ontario, Canada, eh, with his wife, Stephanie, his daughter, Addison, and their little dog, Milo.

CONTENTS AT A GLANCE 5
CONTENTS 7
ABOUT THE AUTHORS 16
ABOUT THE TECHNICAL REVIEWERS 17
ABOUT THE COVER IMAGE DESIGNER 18
ACKNOWLEDGMENTS 19
INTRODUCTION 20
Who this book is for 20
How this book is structured 21
Conventions 21
Prerequisites 23
Downloading the code 23
Contacting the authors 23
DOM SCRIPTING IN DETAIL 24
DO IT RIGHT WITH BEST PRACTICES 26
Unobtrusive and progressive enhancement 27
Putting JavaScript to work 28
Common gotchas in the JavaScript syntax 53
A practical example: WYSIWYG JavaScript rollover redux 63
Summary 71
CREATING YOUR OWN REUSABLE OBJECTS 74
What’s in an object? 75
Creating your own objects 83
What is this? 94
try { }, catch { }, and exceptions 99
A practical example: your own debugging log 101
Summary 110
UNDERSTANDING THE DOM2 CORE AND DOM2 HTML 112
The DOM, not JavaScript, is your document 113
Levels of the DOM 114
Creating a sample document 119
The DOM Core 123
DOM HTML 148
A practical example: converting hand- coded HTML to DOM code 150
Summary 169
RESPONDING TO USER ACTIONS AND EVENTS 172
DOM2 Events 173
Types of events 174
Controlling event flow and registering event listeners 189
Summary 224
DYNAMICALLY MODIFYING STYLE AND CASCADING STYLE SHEETS 226
The W3C DOM2 Style specification 226
When DOM scripting and style collide 229
Keeping style out of your DOM script 236
Accessing the computed style 260
The Microsoft filter property 262
Practical example: a simple transition effect 267
Summary 270
CASE STUDY: A PHOTO CROPPING AND RESIZING TOOL 272
The test files 273
The editor objects 277
Summary 304
COMMUNICATING OUTSIDE THE BROWSER 305
ADDING AJAX TO THE MIX 307
Merging technology 308
Why Ajax may break your site and how to fix it 327
Practical example: an Ajax- enhanced photo album 356
Summary 365
CASE STUDY: ENABLING ASYNCHRONOUS FILE UPLOADS WITH PROGRESS INDICATORS 367
A little life in the loading message 369
The starting point 373
Putting it all together: an upload progress indicator 374
Summary 394
SOME GREAT SOURCE 395
USING LIBRARIES TO INCREASE PRODUCTIVITY 397
Choosing the library that’s right for you 398
Enhancing the DOM 402
Handling events 413
Accessing and manipulating style 418
Communication 419
Summary 424
ADDING EFFECTS TO ENHANCE USER EXPERIENCE 426
Do it yourself 427
A few visual effects libraries 435
Some visual bling 436
Behavioral enhancements 458
Summary 473
MASHUPS GALORE! USING APIS TO ADD MAPS, SEARCHING, AND MUCH MORE 475
API keys 477
Client- side APIs: some JavaScript required 477
Server- side APIs: some proxy required 504
Summary 524
CASE STUDY: STYLE YOUR SELECT WITH THE DOM 526
That classic feeling 527
Building a better select 528
Strategy? We don’t need no stinkin’ strategy . . . 529
Generating life and other memorable events 541
Bling- bling for da form t’ing 546
Behavioral modifications 557
Knock, knock . . . housekeeping! 570
Further adventures in select replacement 571
Summary 572
INDEX 574

Erscheint lt. Verlag 18.10.2007
Zusatzinfo 592 p.
Verlagsort Berkeley
Sprache englisch
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Informatik Web / Internet Web Design / Usability
Schlagworte action • Animation • CSS • Dom • Google • HTML • JavaScript • Layout • Tutorial • User Experience • Web Design
ISBN-10 1-4302-0298-X / 143020298X
ISBN-13 978-1-4302-0298-1 / 9781430202981
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 13,7 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
was alle wissen sollten, die Websites und Apps entwickeln

von Jens Jacobsen; Lorena Meyer

eBook Download (2024)
Rheinwerk Computing (Verlag)
CHF 38,95
Alles, was Sie über Gestaltung im Web wissen sollten

von Björn Rohles; Jürgen Wolf

eBook Download (2023)
Rheinwerk Design (Verlag)
CHF 19,40
das Handbuch zur Webgestaltung

von Martin Hahn

eBook Download (2024)
Rheinwerk Design (Verlag)
CHF 48,75