Software, your way.
burger menu icon
WillMaster

WillMaster > Library

Blogs Just In

Web Development Tutorials

Answers To Questions About JavaScript

At Willmaster.com we receive lots of questions. Here are a few about JavaScript with the answer they were responded to.

A Short CSS 'display' Property Tutorial

Without the 'display' property, your web page would be a mishmash of haphazardly displayed content.

A Simple Form for WordPress

This tutorial describes how to implement a form in a WordPress blog.

Auto-resize Iframe when Content Size Changes

An iframe can be resized whenever its content changes.

Basic JavaScript Date and Time Functions

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.

Box-shadow Fun

The CSS box-shadow property has more versatility than a person might think just looking at it.

Burger Navigation Menu

Burger Navigation Menu tutorial - friendly with non-JavaScript browsers and search engine spiders.

Coding for Random Characters; A Tutorial

As you write software, you'll no doubt encounter a need for random-selected characters. It might be for a temporary file name, a security code, or for something else. The code examples in this article I think are some of the simplest methods that use easily readable code.

Converting Sites From HTTP to HTTPS

For large sites, switching from non-SSL to secure pages can require paying attention to a lot of details. I'll describe some of them and in general what to watch for.

Copy and Paste Ajax Engine

Here is the source code of an Ajax engine you can use over and over, on many different web pages. With instructions how to use it. The focus is to make Ajax available even to those who have learned no programming skills.

Cron

Cron is a Unix/Linux program scheduler. It'll automatically execute commands on your server according to a schedule you specify.

CSS Dots

CSS dots can be used for interactions between web page and website user.

Currency Formatting,
Putting Commas In Numbers: JavaScript and Perl

Round numbers to the nearest hundredth, with two digits following the decimal point and insert commas between every third digit (right to left) for numbers 1000 and larger.

Divs with Background Images

3 of the 9 CSS rules in this article are for responsive sites, automatically resizing background images. The rest are related to tiling, positioning, or resizing images to a static size.

Email Testing

One thing to test when email doesn't get sent or doesn't arrive is whether the server actuall sends email.

How API Works

To describe how API works, I'm going to tell you a story about Alfred Perry Inman.

How CGI Works

You already understand that when you surf the internet your browser retrieves (or gets served) information from other computers.

How PHP Works

When you understand this article, you will have an intuitive understanding of what PHP is and a better grasp of what is possible to do with it.

How the World Wide Web Works

Imagine a restaurant that serves many hundreds of thousands of clients every day. Nobody knows how many clients there really are. It might be millions. Or even billions. They're everywhere.

How to Build an API

Let's build a basic, functional API. An API that works.

How to Calculate Leap Years

This tutorial presents steps to do the leap year calculations manually. Following that is code for doing it with PHP, JavaScript, and Perl.

How to Position Text and Images Exactly and Relatively

There are several ways CSS can be used to position text, images, and other content on a web page. The positioning can be exact or relative to something else.

How To Remove Extraneous Table Borders

Table header and row cells without content but still with borders can be distracting. Remove extraneous borders from sight for a table that's more visually pleasant.

How To Send Email With Perl, Part I

There are a number of ways to tell Perl scripts where to send email. Today's example uses one of the simplest methods, with the email address following the question mark in the URL.

How To Send Email With Perl, Part II

The script accompanying this part of the tutorial can send text or HTML email, form user's choice or your choice. It can be used as an auto-responder and can send personalized emails.

How To Send Email With Perl, Part III

This Part III will demonstrate how to send both plain text and HTML formats into one email. Sending email with both formats ensures that those with plain text email programs can read your email just as well as those with HTML email programs. It's one way to utilize the advantages of HTML email, yet have your message be readable in plain text email programs.

HTML Form Tutorial, Part I

HTML web page forms are a means of collecting information. People fill in a form and/or select something. Then they click a button.

HTML Form Tutorial, Part II

This second part completes the tutorial with multi-line text input areas, selection lists, and a complete form using all the examples.

Importing Any Content From an External File Using PHP

Text files, HTML files, the content of any available file can be imported and published on a web page with the PHP readfile() function.

Installing PHP Software

Some PHP software is completely installed by uploading the files to the server. Do that and you're good to go. Others need a bit more attention.

Interactive Tool for CSS 'box-sizing' Property

CSS 'width' and 'height' apply to the width and height of the content within the div -- unless 'box-sizing:border-box;' is specified.

JavaScript and CGI Talking to Each Other

Sometimes it is desirable to publish information on a web page that can only be provided by a program running on the server.

JavaScript Rounding

Sometimes a decimal number needs to be rounded to an integer or to a decimal, which is something JavaScript can do.

JavaScript Tutorial Part 1- Some Basics

This is how JavaScript works- some programming basics

JavaScript Tutorial Part 2 - Function Basics

Unlike many programming languages, JavaScript can be written in bits and pieces.

JavaScript Tutorial Part 3- Variable Basics
and Program Flow Control

You may have come to the conclusion that JavaScript has several different types of variables. Well, you're right.

Learning Perl

A lot of webmasters want to learn Perl. I'm frequently asked how to go about it.

Link Selects Dropdown List Item

This tutorial describes how JavaScript can be used to select a dropdown list option when a link is clicked.

Multi-Line Strings in JavaScript

Strings containing literal line breaks can break JavaScript code because JavaScript is line-break sensitive. However, JavaScript has several ways to handle multi-line strings.

OnKeyDown, OnKeyUp, OnClick, and OnChange JavaScript Events

The JavaScript events onkeydown, onkeyup, onclick, and onchange can all be used to make something happen when the user changes or types something into a form field. (An event is something that happens.) Each of the 4 events are described further below. When an event occurs, it can trigger an action. The action might be to error check a field, update totals, use Ajax to submit to a form handling script on the server, spawn an alert message, pretty much anything JavaScript can do can be triggered by an event.

PHP Form Submission Limits

Find out how to change 6 different PHP directives that can limit form functionality.

Protecting Member Areas with Cookies

Some methods of protecting member areas with cookies have better security than other ways. Some member areas need a high level of security. Other's don't.

Strong, Memorable Passwords

One way to remember a strong password without writing it down is by remembering a sentence. The password is constructed from that special sentence.

The "display" and "visibility" CSS Properties; An Overview

There are two ways to make content disappear and reappear, with the CSS 'display' property and the CSS 'visibility' property.

To WWW or Not to WWW (Or to Do Both)

If your domain can be accessed both with and without the 'www.' subdomain, you may run into strange cookie issues or find that some things, like forms or database accesses, intermittently fail.

Uncommon But Handy HTML Tags

Even if you frequently look at web page source code, it is unlikely you have seen all HTML tags in use. We'll look at three uncommon tags in this article. Useful ones.

Unix/Linux File Permissions

Following CGI program installation instructions regarding permissions is usually all you really need to know about the subject. But sometimes instructions are insufficient. And instructions can contain typographical errors.

Using CSS Snippets

How to use CSS snippets you find in articles about CSS.

Using the Onclick Attribute

The onclick attribute determines what is run when the click occurs. The click can cause any JavaScript to run, from displaying a "hello" message to making an Ajax connection with the server.

Ways to Import External Content Into Pages

There are a number of ways to insert often-updated content into a page, content obtained from an external file or URL. Here, you will find out how to do it with PHP.

Ways to Redirect Bots and Browsers

There are 4 common ways to redirect a browser: Using the .htaccess file, using PHP, using the HTML meta refresh tag, and using JavaScript.

What an API Is

An API facilitates the interaction of various separate programs.

When and Where PHP Code Runs

Writing Your Own Form Handling Scripts (Perl CGI), Part I

If you've been wanting to write form handling scripts, this article is for you.

Writing Your Own Form Handling Scripts (Perl CGI), Part II

How to store the form information in a database file on your server

Writing Your Own Form Handling Scripts (Perl CGI), Part III

How to send the form information to yourself in an email

Writing Your Own Form Handling Scripts (Perl CGI), Part IV

How to personalize the "thank you"/confirmation page for your form user.

All information in WillMaster Library articles is presented AS-IS.

We only suggest and recommend what we believe is of value. As remuneration for the time and research involved to provide quality links, we generally use affiliate links when we can. Whenever we link to something not our own, you should assume they are affiliate links or that we benefit in some way.

How Can We Help You? balloons
How Can We Help You?
bullet Custom Programming
bullet Ready-Made Software
bullet Technical Support
bullet Possibilities Newsletter
bullet Website "How-To" Info
bullet Useful Information List

© 1998-2001 William and Mari Bontrager
© 2001-2011 Bontrager Connection, LLC
© 2011-2024 Will Bontrager Software LLC