Archive for April, 2012

Monday, April 30th, 2012

Holidays and Not Today

A couple of small changes to my toCalendar method means that it can be used to display calendars with selected dates highlighted. The person who was asking about highlighting dates wanted to highlight holidays but I implemented the change to my script in such a way that you can use it to highlight whatever days [...]

Sunday, April 29th, 2012

Defining a Class Library

If you are using a programming language that supports classes then obtaining a class library that supplies a lot of the common functionality that you need will save you a lot of time. Regardless of whether you actually do that or not there will be a whole lot of functionality that your projects will require [...]

Saturday, April 28th, 2012

Embed – A tag with no purpose

I can’t understand why people bother with the embed tag. Not only is it a proprietary, non-standard tag but also it makes the HTML more complex once you combine it with the object tag that is needed for those browsers that don’t support embed. In fact if you use two object tags (one for IE6 [...]

Friday, April 27th, 2012

New Input Tag Attributes in HTML 5

Another article dealing with proposed additions to HTML. Here we look at the new attributes that are to be available for use with forms that will hopefully make forms more interactive with less reliance on JavaScript. New Input Tag Attributes in HTML 5

Thursday, April 26th, 2012

ASCII Character Chart

The ASCII character set consists of 128 characters. 32 of these are control characters (meaning that they do something rather than appearing as an actual character. The rest of the standard ASCII characters can be found listed alongside their decimal and hexadecimal values on this reference page. There is also a link to a section [...]

Wednesday, April 25th, 2012

Is My Web Page Fully Optimized?

People’s expectations on how fast a page should load changes as they move from dial-up to slow broadband to fast broadband. While a page might have been considered to have an acceptable load time if it took 20 seconds to load on a dial-up, two seconds might be considered to be too slow on a [...]

Tuesday, April 24th, 2012

Two JavaScript Page Updates

This week I have updated two pages in the JavaScript section. One discusses how to share cookie data with other people via the server and the other is a list of events that JavaScript recognises – now a much longer list of events than was on the page previously.

Monday, April 23rd, 2012

Spam Warning

My inbox the last few days has been flooded with emails requesting that I confirm my email address for a variety of services – some that I have accounts with and many where I do not. With none of these have I done anything that should require email confirmation. Hovering over the confirm links displays [...]

Monday, April 23rd, 2012

Controlling LineBreaks

Hard coding line breaks in your HTML is inappropriate for most text (it is valid for poetry and some programming languages but not for ordinary text). Just letting the browser break lines where ever it decides is not always going to give us what we want though. CSS allows us to gain some control of [...]

Sunday, April 22nd, 2012

Random Ad Display

The PHP required to select multiple ads to display on the same web page without displaying any one ad more than once is really simple when you know how. This page shows you just how simple itr is to set up a Random Ad Display.

Saturday, April 21st, 2012

Setting AutoCorrect in Word

One advantage that modern wordprocessing software has over anything that preceded it is that it can make some corrections for you automatically as you type. The autocorrect option in Microsoft Word allows you to choose which corrections that you want the program to make for you. Some corrections that you can have fixed for you [...]

Friday, April 20th, 2012

Multipart MIME Emails

In this article about emails we look at some of the different MIME types that can be defined in emails and what they are used for. By using the appropriate MIME types in your email you can provide alternative parts in plain text, HTML etc, embed images in the email, add attachments, digitally sign emails, [...]