Archive for February, 2012
Wednesday, February 29th, 2012
This week’s Updates
Not so many updates to old pages this week. I have reworked the Get A Quote page to clean up some formatting errors that had crept in during the various work on restructuring the site as well as making it harder for spammers to use the form to bombard me with meaningless spam. I have [...]
Posted in Golden Oldie, What's New | Permalink | Comments Off
Tuesday, February 28th, 2012
There is a right way and a wrong way to ask for help with your programming homework. The right way means that you still end up learning what the homework is trying to teach. The wrong way means you are trying to get someone else to do it for you so you don’t have to [...]
Posted in What's New | Permalink | Comments Off
Monday, February 27th, 2012
There are limitations applied to JavaScript running in a web browser that other languages (and even JavaScript) running elsewhere do not apply. There are reasons for these restrictions and also reasons why ways to work around some of them are required. Why Can’t JavaScript Do This?
Posted in What's New | Permalink | Comments Off
Sunday, February 26th, 2012
One rather annoying aspect of Internet Explorer is the way that it mishandles a number of stylesheet commands. Most of these are corrected by placing a valid doctype statement as the first entry in your page source as IE also misuses that statement to determine whether to use “satandards” mode or “quirks” mode in interpreting [...]
Posted in Golden Oldie | Permalink | Comments Off
Saturday, February 25th, 2012
Updated Pages
Not so many pages updated this week but then it has been a long time since I added so many new pages all in the one week. Obtaining a Visitor’s IP Address Lock IE Homepage
Posted in Golden Oldie, What's New | Permalink | Comments Off
Friday, February 24th, 2012
Lots of new JavaScript pages this week. This one looks at a script I first wrote over ten years ago and have patched several times in the past to add extra functionality and to apply a more modern approach. Even with the changes the script still appears extremely dated (pun intended) and a complete rewrite [...]
Posted in What's New | Permalink | Comments Off
Thursday, February 23rd, 2012
Here we look at the reasons why adding two scripts to the same page may not work where adding either one by itself does. The answer is of course that one or both scripts are not written properly to use an unobtrusive approach. That of course is reasonably easily fixed if you make the appropriate [...]
Posted in What's New | Permalink | Comments Off
Wednesday, February 22nd, 2012
Just to get away from JavaScript briefly I wrote this article about how easy it is to convert dates between the internal formats used by PHP and SQL. Two simple PHP commands is all you need. Dates and Databases
Posted in What's New | Permalink | Comments Off
Tuesday, February 21st, 2012
JavaScript provides three ways to define functions. Here we look at the disadvantages that two of those ways have and the sorts of things that can only be done one way. Ways to Define a Function
Posted in What's New | Permalink | Comments Off
Monday, February 20th, 2012
Continuing on with updating scripts I wrote previously so as to use more modern less obtrusive JavaScript. This one was first written in 2009 and so didn’t need much work but I did take the opportunity both to make it as unobtrusive as possible (the only external references are to the ids in the page [...]
Posted in What's New | Permalink | 1 Comment »
Sunday, February 19th, 2012
Not all browsers support using tables for your page layout. While layout tables have been a part of the CSS standard for quite some time, Internet Explorer only introduced support for layout tables in version 8. You have a number of options on how to deal with how your page will look for those visitors [...]
Posted in Golden Oldie | Permalink | Comments Off
Saturday, February 18th, 2012
You can further refine your CSS tables using properties that are specific to tables. Table Properties
Posted in Golden Oldie | Permalink | Comments Off