Chapter 24: Making Interactive Web Pages with JavaScript . . . . .339 Understanding the Basics of JavaScript ...................................................340 Displaying text ...................................................................................341 Creating variables ..............................................................................342 Making dialog boxes .........................................................................343 Playing with Functions ...............................................................................345 Opening and Closing a Window .................................................................347 Opening a window .............................................................................348 Defining a window's appearance .....................................................348 Closing a window ...............................................................................349
Chapter 25: Using Java Applets on Web Pages . . . . . . . . . . . . . . . . .351 How Java Applets Work ..............................................................................351 Adding a Java Applet to a Web Page .........................................................354 Defining the size of a Java applet window .....................................354 Aligning the location of a Java applet window ..............................355 Defining space around a Java applet ..............................................356 Finding Free Java Applets ..........................................................................358
Part VII: The Part of Tens ..........................................359
Chapter 26: Ten Cool Programming Careers . . . . . . . . . . . . . . . . . . . .361 Programming Computer Games for Fun and Profit ................................361 Creating Computer Animation ...................................................................363 Making (and Breaking) Encryption ...........................................................364 Internet Programming ................................................................................365 Fighting Computer Viruses and Worms ...................................................366 Hacking for Hire ...........................................................................................367 Participating in an Open-Source Project ..................................................368 Niche-Market Programming .......................................................................369 Teaching Others about Computers ...........................................................369 Selling Your Own Software .........................................................................370
Chapter 27: Ten Additional Programming Resources . . . . . . . . . . . .371 Trying Commercial Compilers ...................................................................372 Windows programming .....................................................................372 Macintosh and Palm OS programming ...........................................374 Linux programming ...........................................................................375 Testing the Shareware and Freeware Compilers .....................................376 BASIC compilers ................................................................................376 C/C++ and Java compilers ................................................................377 Pascal compilers ...............................................................................377 Oddball language compilers and interpreters ...............................378 Using a Proprietary Language ...................................................................378 HyperCard ..........................................................................................379 Revolution ..........................................................................................380 PowerBuilder .....................................................................................380 Shopping by Mail Order .............................................................................380 Getting Your Hands on Source Code ........................................................381 Joining a Local User Group ........................................................................382 Frequenting Usenet Newsgroups ..............................................................382 Playing Core War .........................................................................................383 Programming a Battling Robot ..................................................................384 Toying with Lego Mindstorms ...................................................................385
Untitled Part 1
Start from the beginning
