-
How to redirect to WWW using JavaScript?
Redirecting to a sub-domain, like “WWW” or another one, can be a choice or a way to solve a problem. Below is a way to do so using vanilla JavaScript, but before just performing a redirect we need to factor in items like protocol, navigation path, query strings, anchors (hash), and site environment. Let’s look…
-
Format a number as US currency [JavaScript]
A recent project I worked on allowed customers to request cloud computing resources. One of the requirements was to display the cost for each resource amount and the totals for one and two years for the resources the customer was requesting. In the United States, numbers are formatted with a period for the decimal mark…
-
Format MAC Address [JavaScript]
I am currently working on a project which will allow users to register their Wi-Fi enabled, non-web browser enabled, devices on the network. These are devices like printers, Apple TV, and Xbox*. One of the data points that have to be collected from the user is the device MAC address. The project customer wants that…
-
Validate Email Address [JavaScript]
The following is a quick and dirty way to validate form input, using JavaScript, from a user to confirm that they are entering a value, which could be interpreted as an email address. The function below is meant to quickly and simply ensure that the value provided by the user contains the at ‘@’ symbol and a…
-
Function: checkboxLimiter [JavaScript]
The checkboxLimiter function will disable all checkboxes, which share common value for the name attribute after the user has checked a pre-set number of them. The limit number is set in the function source to avoid inconsistency if adding the onChange function call inline of the page source. This does not matter if you are using event…
-
Basic HTML5 Template
The Basic HTML5 Template is perfect for testing code snippets. Its purpose is to save you time from having to code a new template every time you want to start working on a new script or test some other code sample. It is just the very basics, and it only supports modern browsers. I am…
-
Layout update to DomainRecord.Info
I did some layout changes to DomainRecord.Info tonight. Read more about them on the DomainRecord.Info project blog on the Innovadix web site.
-
Web design and standards. Key word standards!!
I am working on a new project with my brother and his publishing company. One of my tasks is to set up a new site for his company. One thing I am really, and I mean really, good is modifying things. Be they digital or physical, I can take something and turn it into something…
-
Evolution of a blog
I have decided to change the blog’s theme once again. I want to go with something more professional. I chose BlueBird, because I wanted something less busy, more open and, at the time, I was also high on the Twitter wave. Lately I have been kind of burned out on Twitter! I am not as…
-
Twitter Tool – I love you, I hate you!
The Twitter Tool, a WordPress plugin, is an awesome tool. I love that it posts to my Twitter account whenever I make a post on my blog. It also provides me with the ability to make new tweets from my blog’s sidebar and from within the WordPress administrator menu. But the feature I find most…