Books
in black and white
Main menu
Home About us Share a book
Books
Biology Business Chemistry Computers Culture Economics Fiction Games Guide History Management Mathematical Medicine Mental Fitnes Physics Psychology Scince Sport Technics
Ads

Javascript for dummies 4th edition - Veer E.V

Veer E.V Javascript for dummies 4th edition - Wiley publishing , 2004. - 387 p.
ISBN: 0-7645-7659-3
Download (direct link): javascriptfordummies2005.pdf
Previous << 1 .. 81 82 83 84 85 86 < 87 > 88 89 90 91 92 93 .. 118 >> Next

EarthWeb.com
The EarthWeb.com JavaScript site offers a huge repository of cut-and-paste scripts — scripts for everything from navigation to multimedia.
http://webdeveloper.earthweb.com/webjs
About.com
The Focus on JavaScript Web page at About.com contains articles, tutorials, and downloadable scripts on every conceivable JavaScript-related topic — including my personal favorite, troubleshooting.
http://javascript.about.com/compute/javascript
lRT.org
Internet Related Technologies’ JavaScript section offers an exhaustive knowledge base of frequently asked (and answered) script-related questions.
http://developer.irt.org/script/script.htm
258 Part V: The Part of Tens______
WebReference.com
WebReference.com’s homegrown JavaScript resource list contains links to online JavaScript magazines, script archives, and much more.
www.webreference.com/programming/javascript/index.html
ScriptSearch.com
ScriptSearch.com maintains a giant database of JavaScript scripts, from ad banners to visual effects.
http://scriptsearch.internet.com/JavaScript/
Not-to-Be-Missed Newsgroups
The Web sites listed in the preceding sections are a great source of information. Sometimes, though, you just have to send a message to a real live person and ask a point-blank question. Newsgroups can be a great timesaver, especially when it comes to researching specific how-to’s and known bugs.
To access newsgroups, you need to have a news server defined. Generally, you set up both a Web server and a news server as part of the browser installation and configuration process, but you can always add news support later.
To participate in a user group, by viewing other peoples’ messages or by posting your own, you need to switch from surfing the Web to perusing the news. To do this, choose WindowOMail & Newsgroups from the Navigator menu or ToolsOMail and NewsORead News if you’re an Internet Explorer fan.
For detailed instructions on configuring your browser software to access newsgroups, check with your browser provider (in other words, contact technical support at Microsoft or Netscape) or check out a good book on the topic, such as The Internet For Dummies, 9th Edition, by John R. Levine, Carol Baroudi, and Margaret Levine Young (Wiley Publishing, Inc.).
Collectively, newsgroups are known as Usenet. For more information about newsgroups — including where to find news, how to write effective posts, and even how to create your own — visit
http://groups.google.com
Chapter 15: Top Ten (Or So) Online JavaScript Resources 259
Although user groups come and go, the following have established themselves as the best places to be for JavaScript-related development:
^ If you follow only one user group, make it the following one. This group is very well attended and is currently the premier JavaScript information group for newbies and advanced scripters alike:
comp.lang.javascript
(The it .comp.lang.javascript and de.comp.lang.javascript newsgroups are high-traffic Italian- and German-language versions.)
^ Get answers to HTML questions answered here:
comp.infosystems.www.authoring.html
^ Microsoft’s public scripting newsgroup focuses on JScript tips and questions:
microsoft.public.scripting.jscript
260 Part V: The Part of Tens
Chapter 16
Ten (Or So) Most Common JavaScript Mistakes (And How to Avoid Them)
In This Chapter
^ Catching typographical errors ^ Fixing unmatched pairs
^ Putting scripting statements between HTML tags ^ Nesting quotes incorrectly ^ Treating numbers as strings ^ Treating strings as numbers ^ Finding logic errors
£very JavaScript author makes mistakes. (Actually, I like to think of it in the reverse — it’s the JavaScript interpreter that makes the mistakes by not figuring out what the programmer means by something. Yeah! That’s it!) Most of the time, the errors you make fall into one of the categories listed in this chapter. The good news is that the errors are all easy to correct. The better news is that the JavaScript interpreter tells you quickly — and in no uncertain terms — when it encounters an error.
Check out this book’s companion CD to see the sample listings scattered throughout this chapter. I’ve named the files after the listings so you can find them easily. For example, you can find Listing 16-1 in the file list1601.htm.
262 Part V: The Part of Tens
HTML woes
Because JavaScript statements are embedded in HTML files, some of the mistakes you might find are actually HTML mistakes. For example, the following is an HTML error (TYE="button" should be TYPE="button"):
<INPUT TYE="button" NAME="testButton" VALUE="test" onClick='test()'>
In this case, the JavaScript interpreter doesn't display an error message because the error doesn't concern it. What does happen is that your button element fails to display properly.
If your page doesn't behave as expected and JavaScript doesn't alert you, you're probably dealing with an HTML error. If this happens (and you can't find the solution in this chapter), check out a good HTML reference such as HTML For Dummies, 4th Edition, by Ed Tittel and Natanya Pitts (Wiley Publishing, Inc.).
Previous << 1 .. 81 82 83 84 85 86 < 87 > 88 89 90 91 92 93 .. 118 >> Next