Archive for February, 2010

Sunday, February 28th, 2010

The ELSE Clause

If statements not only allow us to specify statements to be run if a condition is true. By adding an else clause we can also specify alternative statements to be run if the condition is false. Here’s the fifth tutorial in my series on JavaScript decision making – The ELSE Clause

Friday, February 26th, 2010

Creating Web Pages in WordPerfect

Unlike Microsoft Word, WordPerfect can convert documents into HTML that is almost good enough to use on the web. This article was written several years ago now so the versions of the software and HTML that it refers to are fairly dated but the same situation probably still applies today with the latest versions of […]

Tuesday, February 23rd, 2010

“CSS Cookbook”

As I reviewed this book I was rather disappointed in how many errors there were with the HTML and JavaScript. It wasn’t until I compared my review of this third edition with what I had written a few years ago about the second edition that I realised just how much the book has actually improved. […]

Monday, February 22nd, 2010

“HTML & XHTML Pocket Reference”

This pocket sized reference covers a whole three versions of HTML. There are the old obsolete HTML 3.2 codes (as permitted under the HTML 4 transitional doctype), the current standard HTML 4 (strict) codes, and the preliminary draft HTML 5 codes. They are all labelled as to which version they apply to but are unfortunately […]

Sunday, February 21st, 2010

Welcoming Visitors to your Site

This simple JavaScript detects whether this is the first page on your site that a visitor is viewing so that you can display a message welcoming them to your site regardless of which page of your site they arrive at first. Welcoming Visitors to your Site

Saturday, February 20th, 2010

Selecting a Different Page if Javascript is Disabled

If you have a web page that is extremely dependent on JavaScript being enabled in order for the page to work properly then you really ought to have a separate page that provides an alternate way for people without JavaScript to be able to access that information. A better solution would be to use unobtrusive […]

Friday, February 19th, 2010

Publishing Your Site

The initial series of tutorials on using NVU to create standards compliant web pages comes to an end with this eleventh tutorial which covers how to actually publish the pages that you have created to your web site. At this point if you have worked your way through from tutorial one you will know how […]

Thursday, February 18th, 2010

Windows NT Command Reference

Windows NT / 2000 / XP / 2003 / Vista / 7 is not the same operating system as DOS / Windows 95 / 98 / SE / ME. While some DOS commands can be run at the command prompt, others cannot. On the following page you will find a complete list of all of […]

Tuesday, February 9th, 2010

Changing the Order Form

One benefit to the way that my shopping cart script now works is that it makes it much easier to hide unwanted fields in the order form without any need to modify the associated JavaScript. Changing the Order Form

Monday, February 8th, 2010

JavaScript Shopping Cart

Yes I have had the JavaScript shopping cart listed on the site almost since I first started the site. What is significant about it now is that I have gone right through the script updating it from the way that it was coded to work with the browsers around at the time I first wrote […]

Sunday, February 7th, 2010

Using EXEC and SPAWN to Link to Another Program

One topic I haven’t added to in quite a while is the one on C++ programming. In this article I discuss how to start up a second program from within a C++ program. There are two ways of doing this depending on how you want the two programs to interact. Using EXEC and SPAWN to […]

Saturday, February 6th, 2010

What is a Class Library?

One of the big benefits to Object Oriented Programming is being able to define classes that can be reused from one project in another. A class library takes this even further by providing a prewritten set of classes that can be used in all your projects. What is a Class Library?