Many beginner level JavaScript books and tutorials gloss over the difference between JavaScript’s ‘null’ and ‘undefined’. Some even say they are the same thing. They are, in fact, quite different. After reading this article you will understand the difference, and know how to code for it.
Help for the Colour Challenged
by Andrew Grant on November 30, 2011 in Graphic & Web Design
While most of us are aware of the importance of colour, very few of us understand how to use it effectively in our websites and applications.
A particularly challenging task can be the selection of a set of colours that work well together – colours that compliment, not clash with, each other. Here’s a short article which will introduce you to to an excellent online colour selection tool.
Full Screen HTML5 Canvas
by Andrew Grant on November 14, 2011 in Programming & Development
Sometimes you want your HTML5 Canvas application to occupy 100% of the browser screen. Unfortunately this isn’t quite as simple as it should be.
Ideally you would set the canvas element’s width and height attributes to 100% and that would be the end of it – no such luck. Fortunately, there is a 3 step workaround, and this article explains the details and shows you the code.
Save Table Tip
by Andrew Grant on June 26, 2011 in Programming & Development
I don’t like it when “features” get in my way! Here’s a good example, courtesy of SQL Server Management Studio 2008. When attempting to save changes I had made to a table, I was presented with a grumpy “Saving changes is not permitted” warning.
According to my good friend Google, this has caused quite a few headaches for other developers.If you’re one of them, read on!
‘Save As’ Using a HTTP Header
by Andrew Grant on June 4, 2011 in Programming & Development
There are many situations where you may want to create a link to a document (a PDF version of a report, for example), but you want to present the end user with the browsers ‘Save As’ dialog and control the file name.
This is pretty easy to accomplish using the ‘Content-Disposition’ HTTP header. Let’s have a look at this header first, and then look at an example of it in action using C# code.
Recent
Categories
Archives
- January 2012 (1)
- November 2011 (2)
- June 2011 (2)
- April 2011 (1)
- November 2004 (1)
- February 2004 (1)
