generally means learning to script a page in a WebBrowser
is also used for programming MozillaXul
s can run stand-alone like VisualBasic
scripts and DOS batch files in MicrosoftWindows
assumes you will be scripting web pages.
language itself but the objects that comprise the browser page and and other browser elements, plus the browser's event handling mechanism.
Articles & Tutorials:
Some Wiki pages:
Newer to older
- Dynamic HTML: The Definitive Reference, Danny Goodman (Sept. 2002, ISBN 0596003161 , OreillyAndAssociates)
also teaches the details of the language. It's new enough and farther from the core to introduce AjaxWebApplications
and processing RssFeeds
. DHTML Utopia
. It presents loads of whiz-bang cookbook uses, including an entire section on Ajax. Most books, especially older ones, only teach for various versions of InternetExplorer
. This book assumes DOM-compliance (IE6, MozillaFirefox
, etc.) and points out glitches when scripting the less-popular browsers.
Download and install MozillaFirefox
or the full-blown MozillaBrowser
Console keeps a log of error messages, and the DOM Inspector lets you (duh!) inspect and navigate the DocumentObjectModel
of any web page. Keep in mind that although modern browsers all have pretty much the same DOM, a web page in a Mozilla browser will have a lot more Text nodes than in InternetExplorer
. The Mozilla browsers consider whitespace, such as newlines, between HTML tags to be text while InternetExplorer
ignores it. I'm not sure how other browsers handle this, but InternetExplorer
is, as usual, "non-standard."
Console helps you track and find errors while using a MozillaBrowser
, but what about other browsers? Be sure set your InternetExplorer
error messages. You won't get a nice running log, however. (Does M$'s DotNet
/JScript development tools?) I have a boatload of objections to the SafariBrowser
errors. Maybe it can't. Safari feels like black box. I know nothing about OperaBrowser
and many other browsers.
defaults write com.apple.Safari IncludeDebugMenu 1
error logger that should work in several browsers (not just the Mozilla family), see http://www.alistapart.com/articles/jslogging
. I haven't tried it but it looks promising.
development work in a Mozilla-family browser (if only for its tools) and--because of the ~90% of users who are MicrosoftSlave
6, then testing your work in as many other browsers as you can.
You might be into validating your HTML/XHTML (http://validator.w3.org/
attribute is deprecated; it's not valid when using the strict
, you might as well leave off the language
Array object supports some FunctionalProgramming
). The JS 1.5 documentation makes it appear that these methods are standard in JS 1.5, which has been around ever since NetscapeNavigator
). In any case, I'm not aware of any other browser which supports these nifty methods.
event model and Event object as IE6, and I doubt it supports the FunctionalProgramming
1.6. Anybody know? Anybody care to research?
I would like to learn about how viewers of my website can post on my website. Does anyone know if there is code that is already out there?