/Will Bontrager

About Will Bontrager

Publication: WillMaster Possibilities

Basic JavaScript Date and Time Functions

2010-05-26T16:57:18+00:00 August 12th, 2004|JavaScript|

As the title implies, this tutorial will show you how to get the date and time from the visitor's computer and print them to the web page. You'll learn two basic techniques: How to create what's called a date object and how to extract information from that date object; the hour, minute, month, year, and so forth.

Designing Consistent Form Field Sizes

2010-05-26T16:58:40+00:00 July 6th, 2004|CSS|

It can be frustrating to design a form so it looks good, then test it on another browser and have the design fall apart. Some browsers calculate the amount of horizontal space taken up by the size and cols attributes differently than other browsers do. That's why the horizontal spacing of name="text" fields and textarea fields can vary from browser to browser. Even the same brand of browser on Mac and on PC can display fields differently.

HTML Form Tutorial, Part I

2010-05-26T16:58:55+00:00 July 6th, 2004|HTML|

HTML forms are a means of collecting information. People fill in a form and/or select something. Then they click a button. Forms don't actually process information. For something to be done with the information, it must be sent somewhere. This tutorial is about how to make forms and how to send the information, but not how to process the information after it has been sent off.

Transition Popups

2010-05-26T16:59:28+00:00 June 28th, 2004|JavaScript|

Do you have a slow-loading page, one where folks might leave before loading is done? Something that might encourage folks to wait around for your page to load is to provide a transition popup with an explanation. The popup might say "Large image, but worth the wait" or "Retrieving data from remote site" or whatever is applicable. The demonstration (URL below) simply uses the word "Loading" with an animated image of three dots.

JavaScript Tutorial Part II – Function Basics

2010-05-26T17:00:41+00:00 June 14th, 2004|JavaScript|

Unlike many programming languages, JavaScript can be written in bits and pieces. It may be interspersed with HTML code on a web page so long as the JavaScript conforms to its own programming language rules. Understanding and using JavaScript programming language rules is the purpose of this article series.

How To Send Email With Perl, Part II

2010-05-26T17:02:04+00:00 June 9th, 2004|CGI and Perl|

Unlike the basic script of Part I, this script uses Perl module "strict" to enforce certain variable naming conventions, which is good programming practice, and to be usable on servers that run mod_perl. (mod_perl is an Apache server module that speeds up Perl programs by a considerable amount. Apache software is used by virtually all Unix/Linux servers.)

JavaScript Tutorial Part I- Some Basics

2010-05-26T17:05:49+00:00 February 9th, 2004|JavaScript|

Let's clear up any confusion there may be between JavaScript and Java: Although they have similar names, they are very different. Java is a compiled language with modules that load into your browser from a source external to the web page. JavaScript, on the other hand, is...