1. Home
  2. Computing & Technology
  3. JavaScript

Write Your Own JavaScript

New to JavaScript or just been using scripts written by others? This tutorial series will teach you how to write your own. Been using JavaScript for a while? These tutorials will show you how to move it out of the web page into a separate file.

Beginners Start Here

Stephen's JavaScript Blog

Popups and Blockers

Tuesday July 8, 2008
Reduce the chance of your JavaScript popup windows getting blocked.

All browsers now come with a popup blocker to block popup windows opened automatically by JavaScript. Unfortunately some are not as good as others at detecting the difference between an automatic and a requested popup window. By changing the way you code the JavaScript you can improve the chances that your popup window will make it passed the blocker when your visitor requests it.

Popups and Blockers

Functions and Object Constructors

Monday July 7, 2008
JavaScript doesn't have classes but objects can inherit directly from other objects

In JavaScript object constructors are defined the same way you define a function. What distinguishes one from the other is the way it is called. By testing how it was called inside your function you can make functions that are also object constructors or can test if it is called the right way.

Functions and Object Constructors

Explore JavaScript

More from About.com

  1. Home
  2. Computing & Technology
  3. JavaScript

©2008 About.com, a part of The New York Times Company.

All rights reserved.