Overview


Inside JavaScript is designed to give you as much of the whole JavaScript story as one book can hold. We'll not only see the full JavaScript syntaxfrom the most basic to the most advancedbut also dig into many of the ways in which JavaScript is used.

Unlike other JavaScript books, I'm also going to list which browser and which browser version supports every feature we're going to use. That information will enable you to develop JavaScript applications across multiple browsers with relative ease.

Here's a sample of some of the topics in this booknote that each of these topics themselves has many subtopics (too many to list here):

  • The full JavaScript syntax

  • Cross-browser issues: Which browser are you using?

  • Dynamic HTML

  • Handling errors

  • Redirecting browsers

  • Accessing HTML elements

  • Accessing the status bar

  • Creating dialog boxes

  • Using the clipboard

  • Alerts, confirmations , and prompts

  • Creating popups

  • Moving windows

  • Opening and closing new windows

  • Printing

  • Scrolling a window

  • Creating timed events

  • Setting colors

  • Creating cookies

  • Handling file dates and sizes

  • Tracking user navigation

  • Creating new elements and nodes

  • Finding elements by location

  • Navigating to a new URL

  • Using the go , forward , and back methods

  • Finding and replacing text

  • Selecting text

  • Using forms

  • Submitting forms

  • Emailing forms

  • Clicking a button from code

  • Check boxes and radio buttons

  • Working with HTML text and select controls

  • Creating new options in a select control

  • The file upload element

  • Working with hyperlinks , lists, and tables

  • Using JavaScript URLs

  • Working with the mouse, keyboard, and images

  • Mouse rollovers

  • Precaching images and the image object

  • Image maps

  • Handling events

  • Changing web pages on-the-fly

  • Changing visual properties on-the-fly

  • Rewriting documents with the document.write method

  • Setting element visibility on-the-fly

  • Adding visual effects with filters

  • Using Internet Explorer visual transitions

  • Changing pages with dynamic styles

  • Drawing graphics with Vector Markup Language

  • Using Internet Explorer Direct Animation

  • Netscape Navigator layers

  • Internet Explorer filters

  • Internet Explorer visual transitions

  • Dragging and dropping visual elements

  • Dragging and dropping data

  • Dragging and dropping using layers

  • Data binding

  • Using the Tabular Data Control

  • Internet Explorer behaviors

  • Working with regular expressions

  • Cascading Style Sheets

  • Using absolute positioning

  • Using relative positioning

  • Changing style classes on-the-fly

  • Changing style sheets on-the-fly

  • Changing mouse cursors

  • Menus

  • XML and XSLT

  • Creating cookies and custom objects

  • Mouse trails

  • .NET and CGI programming

Here's something that's important to realize if you have an older browser: Note that not all examples will work in all browsers. Over time, browser manufacturers introduce new features, and of course, we have to cover those new features as well as the oldwhich means that not all examples are going to work in every browser version.

In fact, cross-browser issues are a serious consideration when programming in JavaScript, as we'll see throughout the book. As much as possible, I make it a point to indicate which examples will work in which browser; bear in mind that if you're trying to use an example with a newer feature in an older browser, however, it might not work. For that matter, many features that work in the Internet Explorer do not work in the Netscape Navigator, and vice versa.

As you can tell, this is an issue that raises its head over and over in JavaScript. To enable you to handle version and browser differences, this book lists the versions and browsers that support the features that we're going to see; so if an example doesn't work for you, that's the first thing to check. All the examples in the book were tested by three peoplemyself and two dedicated technical editors (working on different machines)to make sure they work as advertised.



Inside Javascript
Inside JavaScript
ISBN: 0735712859
EAN: 2147483647
Year: 2005
Pages: 492
Authors: Steve Holzner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net