Datasheet
24
Part I: Programming with JavaScript
Figure 1-11:
Aptana
might be the
best Web
editor avail-
able at any
price.
Multiple document support
Automatic syntax highlighting and code completion
Intergrated file management tool
Console area for debugging and error messages
Automatically generated map showing the main sections of a page or program
Creating Your Browser Collection
Web pages live within the context of Web browsers. Each browser interprets
HTML and CSS a bit differently, and the differences are magnified when you
start talking about JavaScript and AJAX. Subtle (and sometimes not-so-subtle)
differences in the way browsers support your code can be very important.
Setting the standard
Every Web browser has its own particular way of displaying Web pages.
Although those ways are pretty similar, the differences can sometimes be a
problem. Worse, as you begin to write JavaScript code, you’ll find that each
browser has its own interpretation of the code. That can be a real mess.
05_417997-ch01.indd 2405_417997-ch01.indd 24 10/26/09 9:55 PM10/26/09 9:55 PM